How to configure WHMCS with Hosting Controller v10

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:
 
  1. Preparing WHMCS for HC10
  2. 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:
  1. Follow the Installing WHMCS document detailing the procedure to install WHMCS.
  2. Download 'hc.php' file from Downloads section on HC website.
  3. 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
 
Configuring WHMCS comprises of the following steps:
 
  1. Adding a Server
  2. Adding a Product
  3. Adding a WHMCS Client
  4. Adding a New Order
  5. 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