[for WHMCS 7.2.x and later]
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:
1.Proceed to the Setup → Products/Services → Products Addons and press Add New Addon.
2.Fill addon name, set up billing cycle and price. Afterwards, mark Show on Order checkbox, assign addon to product.
3.Go to the Module Settings tab and select CloudLinuxLicenses from Module Name dropdown menu.
4.Fill Username and Password with your CloudLinux API access (API secret key) details and select desired license type from LicenseType dropdown menu. Press Save Changes to confirm.
Fig 6: Configuration of product addon with Provisioning Modules.