Prerequisites
- WHMCS installed and running
- A Blockonomics account
- A Bitcoin wallet with an xPub key (wallet guide)
BTC setup
Download the Blockonomics WHMCS module
Download the latest release from the Blockonomics GitHub and unzip it.
Upload to your WHMCS server
Copy the
blockonomics folder into your WHMCS modules/gateways/ directory.Activate the gateway in WHMCS
- Log into your WHMCS admin panel
- Go to Setup → Payment Gateways
- Click All Payment Gateways and find Blockonomics Bitcoin
- Click Activate
Configure your API key
- Go to Dashboard → Stores in Blockonomics and copy your API key
- Back in WHMCS, paste it into the API Key field
- Click Save Changes
Add your wallet and create a store
Follow the wallet setup and store setup steps if you haven’t already. Use the WHMCS Callback URL shown in the gateway settings as your store’s callback URL.
BCH setup
Install the BCH module
Download the BCH module from the Blockonomics GitHub and copy the
blockonomicsbch folder into modules/gateways/.Activate in WHMCS
Go to Setup → Payment Gateways → All Payment Gateways, find Blockonomics Bitcoin Cash, and activate it.
Configure your BCH wallet
Add a BCH wallet in Dashboard → Wallets using your BCH wallet address (not xPub).
FAQ
How do I set mBTC as my currency?
How do I set mBTC as my currency?
In your WHMCS Blockonomics gateway settings, find the Currency field and select mBTC from the dropdown. This displays prices in millibitcoin (1 mBTC = 0.001 BTC), which can feel more familiar for smaller amounts.
Invoices are not being marked paid — how do I fix this?
Invoices are not being marked paid — how do I fix this?
Check that your WHMCS server is publicly accessible and that the callback URL in your Blockonomics store matches exactly what’s shown in your gateway settings. See Callbacks failing → for a full debugging guide.
Can I run BTC and BCH gateways at the same time?
Can I run BTC and BCH gateways at the same time?
Yes — they are separate gateway modules and can both be active simultaneously in WHMCS.

