Requirements
- WHMCS 8 or 9
- The PHP cURL extension
- A System URL that starts with
https://
Install
1
Create an API key
In the CoinStack dashboard, open Developers and create an API key with Read and write access.
2
Upload the module
Download the module and unzip it. Copy its
modules and includes folders into your WHMCS root.3
Activate the gateway
In WHMCS, go to Configuration > System Settings > Payment Gateways and activate CoinStack.
4
Paste the key
Paste the API key into the gateway settings and save.
How it works
- When a customer pays an invoice with CoinStack, the module creates a checkout for the invoice balance and sends the customer to it.
- When the checkout is completed, the payment is recorded on the invoice and the invoice is marked paid.
- While a payment is confirming, the invoice shows as Payment Pending.
Currencies
CoinStack accepts invoices in 146 currencies. For a currency it does not accept, set Convert To For Processing on the gateway to one it does, such as USD.Partial payments
If a checkout expires partly paid, what arrived is recorded on the invoice and the customer can pay the rest from the invoice page. If you mark the checkout as resolved in the CoinStack dashboard, the remainder is recorded and the invoice is marked paid.Refunds
Refunds are sent from your own wallet, not from WHMCS.Troubleshooting
If invoices are not being marked paid:- Your System URL, under Configuration > System Settings > General Settings, must start with
https://and have a valid certificate. - Your firewall or security plugin must allow
POSTrequests from outside tomodules/gateways/callback/coinstack.php. - The WHMCS cron must be running. The module also uses it to catch up on any payment updates it missed.