Page sections
EN
VPN panels

Crypto payments for Xboard and V2Board

A payment plugin for the Xboard and V2Board VPN and proxy panels. At checkout the customer goes to the SnapEX Pay page, pays in USDT on TRC20, ERC20, BEP20, Solana, TON or another network (or another method SnapEX offers for that amount), and the order opens automatically after a signed webhook. No wallet, node or self-hosted gateway to run; funds land in your SnapEX Pay merchant balance.

Download the module GitHub

Free. Version 1.3.0.

What it does

  • Native Xboard plugin (installable from the admin plugin manager) plus a drop-in app/Payments/SnapexPay.php class for V2Board and older Xboard releases.
  • Correct money units: panel totals in cents are sent as a decimal USD amount, with an optional rate for non-USD shops.
  • Signed webhooks (HMAC-SHA256, 5-minute window); the invoice is re-read from the SnapEX Pay API and the order is paid only when the status is paid.
  • A repeated click on Pay reuses the same invoice; if it has expired, a fresh one opens for the same order. Test invoices can never open an order while the method is live.
  • The payment window is never longer than the panel's own order timeout (Xboard 2 hours, V2Board 30 minutes). Plain PHP and cURL, no extra dependencies.
  • Coins: USDT (TRC20, ERC20, BEP20) on invoices of any amount; BTC, ETH, LTC and TRX also on smaller invoices when the network fee allows; other coins on invoices from $8.
  • On request: besides crypto, we can turn on payments in Russian rubles by QR code (Russia) and Alipay for your account. Write to us in the chat on this site.

Install

  1. Xboard: admin → Plugins → upload the downloaded ZIP → Install → Enable "SnapEX Pay". (Or unpack it and put the folder into the panel as plugins/Snapexpay/ — the name is case-sensitive — then install it from Plugins.)
  2. V2Board or older Xboard: copy app/Payments/SnapexPay.php from the archive into the panel and restart PHP-FPM or Octane if you use OPcache; in V2Board make sure Site URL (app_url) is set.
  3. Payment configuration → Add payment method → gateway SnapexPay. Paste the API key (scopes invoices.read, invoices.write) from the SnapEX Pay cabinet.
  4. Copy the notify URL the panel shows for this method, set it as the webhook URL in the SnapEX Pay cabinet (Developers) and paste the whsec_… secret (shown once, when the URL is first saved) into Webhook secret.
  5. If prices are not in USD, set "USD per 1 shop currency" (for example 0.14 for CNY). Save and test a payment.

Settings

API keySnapEX Pay cabinet → API keys, scopes invoices.read and invoices.write.
Webhook secretThe whsec_… secret of the webhook endpoint. Without a valid signature no order is paid.
Network fee paid bymerchant: the customer pays exactly the order total, and the fee is taken from what you receive. customer: the SnapEX Pay fee and the network fee are added on top.
Payment window, minutesXboard default 60 (max 120), V2Board default 20 (max 30) — not longer than the panels' own order timeouts.
USD per 1 shop currency1 for USD prices; for example 0.14 for CNY.
Partner IDOptional: the Partner ID of the integrator who set the module up (SnapEX Pay referral program). Leave empty if you set it up yourself.

Step-by-step setup guide →

Questions

Does it work with V2Board?

Yes. Xboard gets a native plugin; V2Board and older Xboard releases use the drop-in app/Payments/SnapexPay.php class with the same settings.

My prices are in CNY or another currency.

Set "USD per 1 shop currency": the amount is total / 100 × usd_rate, for example 0.14 for CNY.

What if the customer clicks Pay twice?

The same invoice is reused; if it has expired, a fresh one is opened for the same order.

Why is the payment window limited?

Xboard cancels unpaid orders after 2 hours and V2Board after 30 minutes, so the window is capped at that limit.

Why do I need HTTPS?

SnapEX Pay delivers webhooks only to public HTTPS URLs, and the order opens on the webhook.

Ready to accept crypto?

Create a merchant account, get an API key and connect the module. 1% per payment, no monthly fee.

$200 giveaway

To a random member.

Subscribe @snapex_pay