WHMCS
Watenga payment gateway module for WHMCS billing.
Installation
- Download from downloads.watenga.africa/plugins/watenga-whmcs.zip.
- Upload
watenga.phptomodules/gateways/. - Setup → Payments → Payment Gateways → Activate Watenga.
- Keys: Developer Dashboard → your API app.
- Callback URL (auto-configured):
https://YOUR-DOMAIN/modules/gateways/callback/watenga.php
Test mode
Enable Test Mode and use sandbox keys. Same test cards and EcoCash numbers as the Sandbox docs.
Troubleshooting
| Error | Solution |
|---|---|
| Callback not received | Ensure callback URL is publicly reachable over HTTPS |
| Invoice not marked paid | Check WHMCS gateway log; verify webhook secret |
| Duplicate transaction | WHMCS invoice ID must be unique per payment attempt |
