06 Apr

Automating cPanel with WHMCS Billing Solution

WHMCS is the most popular billing solution, offering a wide range of automation features for various software. One of the most common uses is with Web Hosting Panels such as cPanel, Direct Admin and Plesk. This guide will take you step by step to process and create cPanel accounts from WHMCS.

If you are setting WHMCS and WHM Integration on another server, you may need to check that the relevant IP’s and Ports and white listed to allow for connectivity.

Adding a cPanel/WHM Server

First of all, you need to create a server for your cPanel products to be assigned to in WHMCS.

Setup > Products / Services > Products/Services > Servers > Add New Server

Then, you need to add the server information.

Server Name - The name of your server, e.g. Web-1
IP Address - Your server ip address, ie: 213.129.14.55 This is the most important server setting. API uses this IP to connect to server manager.
Select Server Type - "cpanel"

We recommend that you use the Access Hash method, you continue to use your username, but then nagivate to WHM to grab the Access Hash Key.

WHM > Cluster/Remote Access > Remote Access Key

Copy and paste this key into WHMCS.

Then, tick the SSL Mode checkbox.

Click Create Server to add your new cPanel Server.

 

Setting Up a cPanel Package

To setup a cPanel package in WHMCS –

Setup > Products/Services > Products/Services.

You can create and configure the product under the general settings and pricing. On the Module Settings tab, select “cpanel” in the module dropdown field.

Setup a Shared Hosting Package

You should create a package on WHM

Packages > Add A Package

And then, enter the Package Name into WHMCS exactly as it appears in WHM, you can leave all the other fields blank.

If you have root access, there is also an option to define custom packages. You can do this by leaving the Package Name field blank, and defining the individual limits into the fields on the module settings page.

Finally, as with all products on WHMCS, you have the option of choosing the automatic setup option you want for new orders, be it immediately upon order, or as soon as the initial payment is received (recommended).

WHMCS and WHM are now linked and ready to start automatically provisioning web hosting orders for cPanel!