Blog
Dhuri Gateway WHMCS module 0.1.0
The first public build of the WHMCS module for Dhuri Gateway.
Download
dhurigateway-whmcs-0.1.0.zip. It contains the gateway module, its library, the payment callback and an INSTALL file.
Requirements
WHMCS 8 or later, PHP 7.4 or later with curl, and a WHMCS reachable over HTTPS from the internet, because the gateway calls it back.
Install in five steps
- Unzip into the WHMCS root, the folder with
init.php. - Get a merchant from the gateway operator, with your WHMCS System URL. You receive a Key ID, API secret and webhook secret.
- Activate Dhuri Gateway under Setup, Payments, Payment Gateways and fill in the credentials.
- Send a test event from the gateway console and confirm it is delivered.
- Pay an unpaid invoice. It should be marked paid within seconds.
Refunds
Refunds from WHMCS go through the gateway. eSewa has no refund API, so refund in the eSewa merchant portal, record it on the transaction in the gateway console, and WHMCS records it automatically.
Operations
Keep secrets out of tickets and chat, and rotate a key from the merchant page if one leaks. Module calls are logged under Utilities, Logs, Module Log, with secrets masked.
Keep reading
Correspondence
Tell us what you are building.
Sign-in, payments or point of sale: one message to a real person.