CloudLinux Licenses For WHMCS allows you to automatically provision CloudLinux, Imunify360, and KernelCare licenses along with selected products. You can provision them for free or as a paid add-on to your product. Owing to CloudLinux Licenses add-on, all module commands on your main product are automatically reproduced on the license product.
Manage relations between addon and license product
Manage relations between server and license product
Manage relations between configurable options and license product
Automatically add license product to order when relation is triggered
View existing license
Dependencies between module actions – every action: Create, Terminate, Suspend or Unsuspend called on the server product will result with the same action performed on the licensed products
Flexible filtering of existing licenses
Additionally
Multi-Language Support – only provisioning module
Supports CloudLinux, KernelCare and Imunify360 Licenses
Log into your WHMCS admin area and go to Setup → Products/Services → Products/Services. Click Create a New Group
Fill Product Group Name (product group will be visible under that name in your WHMCS system) and click Save Changes
Click Create a New Product. Choose Other from Product Type drop-down menu and previously created product group from Product Group drop-down menu.
Fill Product Name and click Continue.
Set up this product as hidden through marking Hidden checkbox at Details tab. Do not set up pricing for this product, it will be done in another way.
Go to the Module Settings tab and select CloudLinux Licenses from Module Name drop-down.
Fill Username and Password with your CloudLinux API access details (you can find them on your CLN profile page, username is your login and password is API secret key) and select Imunify360 from Product drop-down, then choose desired License Type. If you'd like to use key based licenses, tick Create Key based license checkbox.
Click Save Changes to confirm.
Setup desired Auto-setup options.
Note
You can use the CloudLinux license module as an individual product. By default, for IP license a client’s IP address defined while ordering is used. You can change license IP in service settings (as an administrator or a user). If you want to use a custom field to get the correct IP during the order, you should create a custom field with any field name where IP phrase is used.
In order to allow your client to decide whether he wants to order a server with or without the license, we will use Product Add-on. In this way, when the client orders an add-on, the relation will be triggered and the license product will be ordered along with the module.
The following steps must be performed to prepare such connection:
Go to Setup → Products/Services → Products Add-ons and click Add New Add-on.
Fill addon name, set up billing cycle and price. Then tick Show on Order checkbox, assign add-on to the product and click Save Changes.
Fig 3: Configuration of product add-on, which will trigger license product adding.
Go to Add-ons → CloudLinux Licenses Add-on → Add-on Relations and click Add Relation.
Select previously created product add-on and license product as shown below and click Add Relation.
Fig 4: Creating relation between product add-on and provisioning module.
If you want to offer server along with the license, perform the following steps.
Note
Please do not set up pricing for license provisioning product. In exchange, you can increase a price for server provisioning product.
Prepare license provisioning product as described in the Configuration of Product section of this documentation.
Go to Add-ons → CloudLinux Licenses Add-on → Products Relations and click Add Relation.
Select server provisioning product from the Main product drop-down list and license provisioning product from the Linked Product With License and click Add Relation.
Fig 5: Creating relations directly between server and license provisioning modules.
Below we will show what steps to proceed to prepare such connection:
Configure CloudLinuxLicenses product as described here.
Go to Setup → Products/Services → Configurable Options and click Create a New Group.
Fill group name and add New Configurable Option, set up billing cycle, price and option type. Then save changes.
Go to Add-ons → CloudLinux Licenses Add-on → Configurable Options Relations and click Add Relation.
Choose appropriate configurable option and license product which it is assigned to and click Add relation.
Notes
Plugin doesn’t support “quantity” type of Configurable Options
A related product can’t contain two (or more) products with the same license type
If you have changed Dedicated IP of the main product, then each related IP-based product will terminate an old IP license and create a new one for a new IP
Fig 6: Creating relation directly between server and license provisioning modules.
WHMCS 7.2 introduces the ability to associate Product Add-ons with Provisioning Modules.
In order to allow your client to decide whether he wants to order server with or without license we will use product addon. Below we will show you what steps to proceed to prepare such connection:
Go to Setup → Products/Services → Products Add-ons and click Add New Add-on.
Fill add-on name, set up billing cycle and price. Then tick Show on Order checkbox, assign add-on to product.
Go to the Module Settings tab and select CloudLinux Licenses from Module Name drop-down.
Fill Username and Password with your CloudLinux API access (API secret key) details and select desired license type from License Type drop-down. Click Save Changes to confirm.
Fig 7: Configuration of product add-on with Provisioning Modules.
All the services registered in the account are displayed in My Products & Services area. When you choose a particular Product/Service and click View Details, you can view Product information, change license key, view Add-ons or make changes in Management Actions section.
Fig 10.1: Client’s products list.
Fig 11: Licenses details.
To order and purchase a new service do the following:
choose Category → Imunify360 Group and click Order Now on a particular service
Fig 12: Order - Products group.
choose Billing Cycle if possible
enter information in Configure Server area
choose Available Add-ons and click Continue Shopping to proceed or Checkout to view service details
Fig 13: Order - Configure product.
enter Promotional Code in a specific field if you have one
From the admin area it is possible to command such actions as create, terminate, suspend/unsuspend and change IP address. Nonetheless, these actions can be ordered only on the server provisioning module and will be automatically reproduced for the license provisioning product.
Only change IP address functionality have to be ordered manually.
You can view the list of all licenses owned by your client at our add-on → Licenses List.
You can filter the list of licenses by client name, server provisioning products, license provisioning products and license IP address/Key.