How to Automate Account Creation with WHMCS
One of the biggest advantages of WHMCS is that it automates account provisioning - when a client orders a hosting plan and pays, WHMCS can automatically create their cPanel account in WHM without any manual intervention on your part.
How Automation Works
WHMCS communicates with WHM using the cPanel API. When a new order is paid, WHMCS sends an API request to WHM to create the account with the correct package, username, domain, and password. The client receives a welcome email with their login details automatically.
Prerequisites
- WHMCS installed and configured with your WHM server (see the WHMCS setup guide)
- A WHM package that matches your WHMCS product
- A payment gateway configured and active in WHMCS
Configuring Automatic Provisioning
- In WHMCS, go to System Settings then Automation Settings
- Ensure Automatic Setup is set to Automatically setup the product as soon as an order is placed or after payment
- In your product settings, confirm the Module tab shows your cPanel/WHM server selected
- Set the Package Name field to exactly match the WHM package name (case-sensitive)
Testing Automation
Place a test order using WHMCS's built-in order testing tools. Verify that the cPanel account appears in WHM after the simulated payment. Check the WHMCS activity log for any errors.
Common Issues
- Package name mismatch between WHMCS and WHM
- API connection errors - regenerate your API token if needed
- Server hostname or IP change - update the server settings in WHMCS
For help troubleshooting WHMCS automation, contact our support team.
100% Satisfaction Guarantee
We're so confident you'll love dotCanada that we offer a 30-day money-back guarantee. Not satisfied? Get a full refund, no questions asked.
Ready to Get Started?
Join thousands of Canadian website owners who trust dotCanada for reliable, fast web hosting.
Get Started Today
