Crypto payments for WHMCS
Accept crypto on WHMCS invoices. The client presses Pay Now, pays on the SnapEX Pay page in USDT on TRON, Ethereum, BSC and other networks, or in other coins converted to USDT, and the invoice is marked paid in WHMCS automatically.
What it does
- No wallets or nodes to run: funds arrive in your SnapEX Pay merchant balance.
- Three independent ways an invoice gets marked paid: the signed webhook, the client returning from the payment page and a background check on WHMCS cron runs (each pending payment at most every 10 minutes, for 5 days). A lost webhook never leaves a paid invoice unpaid, and a payment is never added twice.
- Multi-currency WHMCS: with Convert To For Processing set to USD, invoices are still recorded in the client's currency.
- Partial payments are never applied automatically: they go to the Gateway Log for you to review. With the webhook set up, money that arrives after the SnapEX Pay invoice has closed is logged there too.
- Test mode: test invoices confirm by themselves without real money; while it is on, only logged-in admins see the Pay button, and other clients see a "test mode" note instead.
- 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
- Upload the contents of the archive to the WHMCS root folder, keeping the paths:
modules/gateways/snapexpay.php,modules/gateways/snapexpay/,modules/gateways/callback/snapexpay.php,includes/hooks/snapexpay.php. - In WHMCS admin open System Settings → Payment Gateways → All Payment Gateways and activate SnapEX Pay (Crypto).
- In the SnapEX Pay merchant cabinet create an API key with the
invoices.readandinvoices.writescopes and paste it into API key. - Webhook (recommended): in the cabinet set the webhook URL to
https://<your WHMCS>/modules/gateways/callback/snapexpay.php(the exact address is shown under the field in WHMCS) and paste thewhsec_…secret into Webhook secret. - If your WHMCS currency is not USD, set Convert To For Processing to USD. Invoices are still recorded in the client's currency.
- Turn on Test mode, open an unpaid invoice as admin, pay it on the SnapEX Pay page with a test method and check it turns Paid. Then turn test mode off.
Settings
| API key | From the SnapEX Pay cabinet. |
|---|---|
| Webhook secret | whsec_… from the cabinet webhook settings. Without it the module still works through the return page and cron. |
| Network fee paid by | Merchant: the client pays exactly the invoice amount, and the fee is taken from what you receive. Client: the SnapEX Pay fee and the network fee are added on top. |
| Payment window, minutes | How long the payment page stays valid (1–1440, default 60). Pressing Pay Now again later opens a fresh one. |
| Test mode | Test invoices; only admins see the Pay button while it is on. Test payments are ignored once test mode is off. |
| Partner ID | Optional: the Partner ID of the integrator who set the module up (SnapEX Pay referral program). Leave empty if you set it up yourself. |
| API URL | Leave as is. |
Questions
What happens if the webhook does not arrive?
The invoice is still marked paid: the module also checks the payment when the client returns from the payment page and on WHMCS cron runs (each pending payment at most every 10 minutes, for 5 days). A payment is never added twice.
My WHMCS currency is not USD. Will it work?
Yes. Set Convert To For Processing to USD in the gateway settings; invoices are still recorded in the client's currency.
What if the client sends less than the invoice amount?
If the client does not top up in time, nothing is added automatically. The Gateway Log gets an entry "Partial payment — review and apply manually" with the received amount.
What if money arrives after the SnapEX Pay invoice has closed?
It is not applied in WHMCS automatically. With the webhook set up, the Gateway Log gets an entry; the money is in your SnapEX Pay balance.
Can I test without real money?
Yes. Turn on Test mode: test invoices confirm by themselves; while it is on, only logged-in admins see the Pay button.
Where do I see what the module did?
In WHMCS, Billing → Gateway Log. The transaction ID of a payment is the SnapEX Pay invoice ID (INV-…).
Other integrations
-
BILLmanager Hosting billing
-
FOSSBilling Hosting billing
-
Paymenter
Hosting billing
- Blesta Hosting billing
- WISECP Hosting billing
- RootPanel Hosting billing
-
WooCommerce
Online stores
-
CS-Cart
Online stores
- Xboard / V2Board VPN panels
-
Marzban VPN panels
-
3x-ui
VPN panels
-
Remnawave
VPN panels
-
Telegram VPN bot VPN panels
-
n8n Automation
Ready to accept crypto?
Create a merchant account, get an API key and connect the module. 1% per payment, no monthly fee.