Crypto payments for BILLmanager
Accept crypto in BILLmanager. The client picks SnapEX Pay (crypto) when topping up or paying an order, pays on the SnapEX Pay page in USDT on TRON, Ethereum, BSC and other networks, or in other coins converted to USDT, and the payment is credited in BILLmanager automatically.
What it does
- No wallets or nodes to run: funds arrive in your SnapEX Pay merchant balance.
- Three independent ways a payment gets credited: the signed webhook, the client returning from the payment page and the periodic check (
checkpay). A lost webhook never leaves a paid payment uncredited, and a payment is never credited twice. - The amount is always re-read from the SnapEX Pay API; the webhook body alone never credits anything.
- Partial payments are not credited automatically: the log asks you to review them.
- Test mode: test invoices confirm by themselves without real money and are never credited once test mode is off.
- 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
- On the BILLmanager host, as root:
tar xzf snapexpay-billmanager-1.1.0.tar.gz,cd snapexpay-billmanager-1.1.0,sh install.sh. It copies the module into/usr/local/mgr5, adds a 5-minutecheckpaycron (/etc/cron.d/snapexpay) as a safety net and restarts BILLmanager. - In the SnapEX Pay merchant cabinet create an API key with the
invoices.readandinvoices.writescopes. - BILLmanager → Provider → Payment methods → Add → SnapEX Pay (crypto). Currency: USD. Paste the API key; saving checks it against SnapEX Pay.
- Webhook (recommended): in the cabinet set the webhook URL to
https://<your billing domain>/mancgi/snapexpayresultand paste thewhsec_…secret into Webhook secret. - Clients paying in other currencies: BILLmanager converts the amount into the payment method currency (USD) at its exchange rates, so keep the USD rate up to date.
- Test first: a separate payment method with Test mode on, available only to a test client (Payment methods → restrictions by client group). Then turn test mode off or delete it.
Settings
| API key | From the SnapEX Pay cabinet. |
|---|---|
| Webhook secret | whsec_… from the cabinet webhook settings. Without it payments are still credited when the client returns and by the periodic check. |
| Client pays the network fee | Off: the client pays exactly the payment amount, and the fee is taken from what you receive. On: the SnapEX Pay fee and the network fee are added on top. |
| Payment window, minutes | How long the SnapEX payment page stays valid (1–1440, default 60). Opening the payment again later creates a fresh page. |
| Test mode | Test invoices without real money. Test payments are never credited once this is off. |
| API URL | Leave empty. |
| 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. |
Questions
Which BILLmanager editions are supported?
BILLmanager 6, any edition. The module needs only python3 3.6+ with the standard library on the BILLmanager host.
What happens if the webhook does not arrive?
The payment is still credited when the client returns from the payment page or by the periodic check that runs every 5 minutes. A payment is never credited twice.
My clients pay in roubles or other currencies. Will it work?
Yes. The payment method is in USD, and BILLmanager converts the amount at its exchange rates; keep the USD rate up to date.
What if the client sends less than required?
If the client does not top up in time, nothing is credited, and the log says "closed with a PARTIAL payment (…) - review in SnapEX Pay and credit manually".
What if the client does not pay in time?
The payment stays "In payment" so the client can try again; a day after the last SnapEX invoice expired it is canceled.
How do I remove the module?
Run sh install.sh --uninstall. Payment history stays in var/snapexpay.sqlite. Everything the module does is logged in /usr/local/mgr5/var/pmsnapexpay.log.
Other integrations
-
WHMCS
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.