A secure and feature-rich payment gateway module for WHMCS that integrates with WowPay's payment processing system, including automatic database setup and webhook handling.
- 💳 Supports all major payment methods via WowPay
- 🔐 Secure HMAC-SHA256 webhook verification
- 📊 Automatic transaction tracking
- ⚡ Real-time payment status updates
- 🔄 Automatic database table creation
- 📝 Comprehensive logging
- 🛡️ Fraud prevention measures
git clone https://github.com/wowpaycfd/whmcs.gitcp -r whmcs-wowpay-gateway/modules/gateways/* /path/to/whmcs/modules/gateways/chmod 644 /path/to/whmcs/modules/gateways/wowpay.php
chmod 644 /path/to/whmcs/modules/gateways/callback/wowpay_callback.php-
Log in to your WHMCS Admin Area
-
Navigate to:
Setup → Payments → Payment Gateways -
Activate the WowPay gateway
-
Enter your credentials:
- 🔑 App ID: Your WowPay application ID
- 🔒 App Secret: Your WowPay application secret
- 🛡️ Webhook Secret: Your webhook verification secret
- 🌐 Base URL:
https://wowpay.cfd
-
Click Save Changes
- In your WowPay Merchant Dashboard:
- Navigate to:
Settings → Webhooks - Add a new webhook with:
- URL:
https://yourdomain.com/modules/gateways/callback/wowpay_callback.php - Secret: Same as configured in WHMCS
- Events: Select all payment events
- URL:
- Enable test mode in WowPay dashboard
- Use test credentials:
- Card:
4111 1111 1111 1111 - Expiry: Any future date
- CVV:
123
- Card:
- Create a test invoice in WHMCS
- Select WowPay as payment method
- Complete payment on WowPay's checkout page
- Verify webhook updates invoice status
| Issue | Solution |
|---|---|
| Webhook not working | Verify secret matches in WHMCS and WowPay dashboard |
| Database table missing | Re-save gateway settings to trigger table creation |
| Signature errors | Check server time synchronization (NTP) |
- WHMCS Admin → Utilities → Logs → Gateway Log
- Search for "WowPay" entries
The module automatically creates this table:
CREATE TABLE `mod_wowpay` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`invoiceid` INT NOT NULL,
`transactionid` VARCHAR(255) NOT NULL,
`amount` DECIMAL(10,2) NOT NULL,
`status` VARCHAR(20) NOT NULL,
`created_at` DATETIME NOT NULL,
`updated_at` DATETIME NOT NULL,
INDEX `invoice_index` (`invoiceid`),
UNIQUE `transaction_index` (`transactionid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;We welcome contributions! Please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please contact:
- 📧 Email: support@wowpay.cfd
- 🌐 Website: https://wowpay.cfd/support
Happy Processing! 💰🚀