WHMCS Marketplace
Download the official module from the WHMCS Marketplace.
GitHub
View source code, report bugs, or contribute.
Prerequisites
- WHMCS 8.0+
- A running Pycer instance
- An API key and webhook secret from Developers → API Keys
Installation
Configuration
Enable the gateway
- Log in to WHMCS Admin
- Navigate to System Settings → Payment Gateways
- Click Pycer to activate it
Configure gateway settings
Under Manage Active Gateways, fill in:Payment flow
Webhook configuration
- Your callback URL is:
- In Pycer, go to Developers → Webhooks and add this URL
- Select the
payment.completedevent - Copy the webhook signing secret into the WHMCS gateway settings
Test mode
Enable Test Mode in the WHMCS gateway settings to use sandbox gateways. Test with card number4242 4242 4242 4242 for a successful payment.
Supported features
- Automatic invoice payment on webhook callback
- Signature verification on every callback
- Test mode toggle
- Multi-currency support
- Refund handling from WHMCS admin
Troubleshooting
If payments are not applied to invoices automatically:- Go to Billing → Gateway Log and filter by
pycer - Check that the webhook secret matches exactly in both Pycer and WHMCS
- Verify your Pycer instance can reach the callback URL
- Enable debug logging in WHMCS for detailed request/response logs