Products are what customers buy in WHMCS: a shared hosting plan, a reseller plan, a VPS or a service. Products live inside product groups, which become the categories in your order form. This guide creates a hosting product that provisions a cPanel account automatically.
Before you start
- A WHM server connected to WHMCS. See set up the cPanel/WHM server module.
- Hosting packages created in WHM (for example
reseller_starter), with exact names noted. - Your currencies configured.
Create a product group
- Go to Configuration → System Settings → Products/Services.
- Click Create a New Group.
- Enter a Product Group Name, for example
Web Hosting, plus an optional headline and tagline shown on the order page. - Choose an Order Form Template or use the system default.
- Tick the payment gateways allowed for this group.
- Click Save Changes.
Create a product
- On Products/Services, click Create a New Product.
- Choose Product Type: Shared Hosting, Reseller Hosting, Server/VPS or Other.
- Select the Product Group and enter the Product Name.
- Choose the Module: cPanel.
- Click Continue.
Details tab
Write a short Product Description – one feature per line works well in the Standard Cart. Tick Featured to highlight it. Set Welcome Email to Hosting Account Welcome Email (or the reseller version).
Pricing tab
- Choose Payment Type: Recurring for hosting.
- Enable the billing cycles you offer (Monthly, Quarterly, Annually…) and enter prices for each currency. Leave cycles disabled if you do not sell them.
- Add a Setup Fee if needed.
Module Settings tab
- Select the Server Group containing your WHM server.
- Choose the WHM Package Name from the list (WHMCS reads it from the server).
- For reseller products, tick Reseller Account and choose an ACL list.
- Choose when to provision: Automatically setup the product as soon as the first payment is received is the safest choice.
Other tabs
- Configurable Options – attach option groups such as extra disk or a dedicated IP; see configurable options and addons.
- Upgrades – list products the customer can upgrade to; WHMCS calculates the pro-rata difference.
- Free Domain – offer a free domain on annual billing for chosen TLDs.
- Links – copy the direct order link for your website buttons.
Click Save Changes.
Test the order
Open the client area in a private window, add the product to the cart, and place an order as a test client. Mark the invoice paid from the admin area and confirm the cPanel account is created and the welcome email is sent.
Troubleshooting
- Package list is empty: the server connection failed or the API token lacks permissions.
- Product not shown in cart: it is hidden, retired, or has no price in the visitor's currency.
- Account not created after payment: check Utilities → Logs → Module Log for the WHM error.
