WHMCS Payment Gateway Automation
WHMCS is the leading billing, support, and automation platform for web hosts and online agencies in Bangladesh. BDGate provides a professional payment gateway extension for WHMCS, allowing domain and hosting resellers to collect invoice payments via bKash, Nagad, and Rocket instantly.
The module communicates directly with BDGate's REST API and SMS automation hooks, automatically marking unpaid hosting invoices as "Paid", activating services, and registering domain registrations immediately after the customer's transfer clears.
Step-by-Step Installation Guide
- Download the Module: Log in to your BDGate Merchant Profile, open the Plugins tab, and download the
whmcs-module.zip file.
- Upload to FTP Server: Extract the contents of the zip file on your computer. You will see a directory named
bdgate. Connect to your web hosting server via SFTP or cPanel File Manager and upload the bdgate folder to:
/modules/gateways/
Ensure the file /modules/gateways/bdgate.php is placed correctly.
- Activate the Gateway: In your WHMCS Admin area, navigate to Configuration > System Settings > Payment Gateways (or Setup > Payments > Payment Gateways in older versions). Go to the All Payment Gateways tab and click on BDGate MFS Gateway to activate it.
- Input Configuration Keys: In the active gateways list, find the BDGate config card. Input your API Client Key, Secret Key, and choose whether to enable sandbox test mode.
- Configure Currency Mapping: Ensure BDT (Bangladeshi Taka) is configured inside WHMCS, mapping the gateway currency options appropriately. Save changes.
Key Technical Strengths
- Automated Provisioning: Instant payment callbacks trigger WHMCS service provisioning scripts immediately, saving hours of manual activation delays.
- Detailed Transaction Logging: All payment callbacks, transaction IDs, and error states are recorded in the native WHMCS Gateway Log.
- No Setup Costs: Enable local payment processing at BDT 0% transaction commission.