Appearance
Integrating WHMCS with Your MXroute Reseller Account
This guide explains how to set up WHMCS to automate the provisioning and billing of your MXroute reseller services. Follow these steps to create a seamless customer experience with automated account creation.
WARNING
This guide is under ongoing development and may be updated with additional information.
Prerequisites
Before setting up WHMCS integration:
- You must have an active MXroute reseller account
- You need to create packages in DirectAdmin that correspond to your WHMCS products
- You should have a working WHMCS installation
Step 1: Create a Welcome Email Template
First, set up a welcome email that will be sent to customers when they purchase your service:
- In WHMCS, navigate to Setup > Email Templates
- Set Email Type to Product/Service
- Create a new template with the following details:
- Name: Your service welcome email name
- Subject: Welcome to your new email service
- Message: Create a custom welcome email using WHMCS variables
A sample welcome email template is available via this Google Docs link.
Step 2: Add Your MXroute Server to WHMCS
Next, configure your MXroute server in WHMCS:
- Go to Setup > Products/Services > Servers
- Click Add New Server
- Complete the server form with these specific details:
- Name: Use your server's lowercase name
- Hostname: Enter the full server hostname
- Type: Select DirectAdmin
- Username: Your reseller account username
- Password: Your reseller account password
Step 3: Create Product in WHMCS
Now create the product that your customers will purchase:
- Navigate to Setup > Products/Services > Products/Services
- Click Create a New Product
- Select Shared Hosting as the product type (not Reseller Hosting)
- Configure the required product details
Product Configuration
Configure the following tabs:
Module Settings Tab
- Set the Module Name to DirectAdmin
- Configure the following settings:
- Server: Select the server you added in Step 2
- Username Type: Choose an appropriate option
- Package: Select the corresponding DirectAdmin package
Pricing Tab
- Set up your pricing structure
- Configure billing cycles as needed
Other Settings
- Details Tab: Add product description and features
- Links Tab: Add custom links if needed
Step 4: Testing Your Setup
Before making your product publicly available:
- Consider setting the product as "Hidden" during initial testing
- Place a test order to verify the automation process works correctly
- Confirm that:
- The DirectAdmin account is created properly
- The welcome email is sent with correct information
- Billing is set up correctly
Step 5: Launch Your Product
When you're ready to launch:
- Set your product status to "Active" if it was hidden
- You can copy the product order URL from WHMCS for use in your marketing
Troubleshooting Common Issues
If you encounter issues with your WHMCS integration:
- Verify your server connection details are correct
- Ensure the DirectAdmin package name matches exactly
- Check that your reseller account has sufficient resources
- Review WHMCS module logs for specific error messages
Additional Resources
- Creating DirectAdmin Packages
- Adding Users Manually (if automation fails)