Question: How to setup Hosting Controller v10 with WHMCS?
WHMCS is one of the most popular billing and automation platforms. Hosting Controller provides a firm integration with WHMCS for the purpose of provisioning Websites, VMs and Exchange resources. The integration of WHMCS with HC10 involves a two-step process:
- Preparing WHMCS for HC10
- Configuring WHMCS
Preparing WHMCS for HC10
Configuring HC10 with WHMCS requires installation of WHMCS on any of your machines. Once done, you may proceed with the configurations. Steps to follow for installation are:
- Follow the Installing WHMCS document detailing the procedure to install WHMCS.
- Download 'hc.php' file from Downloads section on HC website.
- Create a folder by the name of “hc” at WHMCS\modules\servers and place the 'hc.php' file in this folder. (Folder and File name is case sensitive)
Configuring WHMCS comprises of the following steps:
- Adding a Server
- Adding a Product
- Adding a WHMCS Client
- Adding a New Order
- Creating a Service
Note: On some WHMCS machines, the Php Session timeout is set to 60 seconds due to which if provisioning of objects take long then API Connection fails. Therefore, for such scenarios, you can increase the timeout value in /etc/php.ini file by changing value to 90 as given below :
default_socket_timeout = 90
For further details on these configuration steps refer to Configuring WHMCS