WHMCS
WHMCS Crypto Payment Gateway Module
Add the NoCustPay gateway to WHMCS so clients pay invoices in USDT, USDC, ETH or BTC, straight to your own wallet. Install, configure and test it here.
Last updated
The NoCustPay gateway module lets your WHMCS clients pay invoices with crypto. On an unpaid invoice they click Pay with crypto, pay on the NoCustPay checkout page, and the invoice is marked paid once the payment confirms on-chain. Every payment goes straight to your own wallet. NoCustPay never holds it, so there is nothing to withdraw.
What you need
- WHMCS 8.13, 9.0 or 9.1, on PHP 8.2 or later.
- A NoCustPay account with at least one wallet added. You add only public addresses, never a private key.
- An invoice currency NoCustPay supports. When an invoice’s currency is not supported, the client is asked to choose another payment method instead.
1. Create an API key and a webhook secret
- In your NoCustPay dashboard, open API Keys and create a key with only
payments:writeandpayments:read. Copy it now; it is shown once. - Open Webhooks and copy your webhook signing secret.
2. Install the module
- Download the module zip.
- Unzip it over your WHMCS root folder. It adds
modules/gateways/nocustpay.php,modules/gateways/callback/nocustpay.phpand themodules/gateways/nocustpay/folder.
3. Activate and configure it
In the WHMCS admin area, go to Configuration > System Settings > Payment Gateways, activate Crypto (USDT, USDC, ETH, BTC) and fill in:
| Setting | What to enter |
|---|---|
| API key | The key from step 1. |
| Signing secret | The webhook signing secret from step 1. |
| API base URL | Leave the default unless you are testing. |
| Debug | Writes extra detail to the Module Log while you test. |
Save the changes.
4. Add the webhook URL
In your NoCustPay dashboard, add this webhook URL, replacing the domain with your WHMCS address:
https://your-whmcs.example/modules/gateways/callback/nocustpay.php
The same URL is shown under the signing secret field in WHMCS, so you can copy it from there.
5. Take a test payment
Create a small invoice for a test client, open it as that client and click Pay with crypto. Pay on the checkout page by scanning the QR code or opening your wallet. When the transfer confirms, NoCustPay sends a signed webhook and WHMCS adds the payment to the invoice, using the NoCustPay payment ID as the transaction ID.
How invoices are updated
- Paid in full: the payment is added to the invoice and the invoice is marked paid.
- Underpaid: nothing is recorded as a transaction, and the Gateway Log shows an
Underpaidentry for you to review. - Reported twice: the payment is recorded once; repeats appear in the Gateway Log as
Duplicate. - Paid after the invoice was cancelled: the invoice is reopened and the payment is applied.
- Another WHMCS on the same NoCustPay account: each installation only accepts payments created by itself, so two sites never touch each other’s invoices.
Troubleshooting
- The client sees “Crypto payment is unavailable right now”: check that the signing secret is saved and that the invoice currency is supported.
- Your NoCustPay balance is too low: an Activity Log entry tells you to top up. New payments resume as soon as you do.
- Where are the logs? API failures go to the Activity Log and the Module Log, whether or not Debug is on. Payment outcomes go to the Gateway Log. Logs never contain your API key, your signing secret or full request bodies.
What it costs
There is no charge for the module. NoCustPay takes 0.4% of each payment from your prepaid balance, so your full invoice amount lands in your wallet. See pricing, or read how hosting companies use crypto with WHMCS, Blesta, FOSSBilling and Paymenter.