Selling 20i Cloud Servers Through WHMCS
We've developed a bespoke provisioning and addon module for WHMCS that allows 20i Resellers to sell Cloud Servers directly through WHMCS. This includes support for 20iCloud, AWS, GCP, and your own branded Cloud Servers.
Pre-Requisites
- You must have a 20i Reseller account
- You need a WHMCS installation (either existing or new)
- If selling in multiple currencies, ensure each currency is enabled in WHMCS
Updating an Existing WHMCS Installation
If you already have the 20i WHMCS module installed, you’ll need to update the module files to get the latest Cloud Server features.
- Visit https://my.20i.com/whmcs
- Click Download WHMCS Module to get the latest files
- Replace the existing module files in your WHMCS installation with the new ones
Installing WHMCS from Scratch
If you're setting up WHMCS for the first time, our auto-installer includes both the shared hosting and Cloud Server modules.
- Go to https://my.20i.com/whmcs
- Purchase a WHMCS licence if you haven’t already — discounted rates are available exclusively for 20i Resellers
- Click Install, then select the hosting package where you’d like to install WHMCS
- You should now be able to login into your WHMCS install via www.Yourdomain.com/yourWHMCSdirectory/admin.
Now that you’ve logged in you'll need to obtain the combined API key. This can be found within your 20i Reseller account by going to Manage Reseller > API, or by going here: https://my.20i.com/reseller/api
Note: Please keep a note of the Combined API Key as this will be used later on.
Adding Custom Fields
When your clients sign up and buy products, a StackCP User needs to be created to allow them access to manage their products. Their level of access can be controlled by you as the Reseller. To enable StackCP User creation when your clients sign up you'll need to create a custom client field.
Head to System Settings > Custom Fields.
You can name the first field anything you like, for example, “StackCP User”.
You can now proceed to create product/services fields.
Connecting to the API
- Within your WHMCS admin, navigate to “System Settings” > “Servers”
- You can use any valid hostname, for example, "20i.com".
- You will need to enter your default name servers this will be:
- ns1.stackdns.com
- ns2.stackdns.com
- ns3.stackdns.com
- ns4.stackdns.com
Note: If you have Virtual Nameservers (custom nameservers) you can enter these instead.
Locate server details a little further down the page and select “20i”. You can leave the username blank and then enter in the combined API key as the password.
WHMCS is now connected to your 20i Reseller account.
Configuring and Selling Cloud Servers via WHMCS
With the latest module installed you will need to enable the module. Head to System Settings > Module Addons (/admin/configaddonmods.php) and activate the 20i Cloud Server module , a new option will appear in WHMCS under Addons > 20i Cloud Servers.
Before syncing your products, configure your Cloud Server settings through My20i.
1. Configure Cloud Server Settings in My20i
Visit WHMCS Cloud Servers in My20i to:
- Manage instance pricing per provider
- Enable/disable specific regions
- Choose Cloud Server optimisation types
- Set pricing per currency
Editing Instance Pricing:
- Click Edit instance pricing next to a provider
- Set custom names and prices for each instance
- Toggle instances on/off for sale through WHMCS
Editing Regions:
- Click Edit regions to open the region selector
- Enable the locations you want to offer to customers
Cloud Server Optimisations:
- Choose whether to offer General Purpose, CPU-Optimised, or Memory-Optimised Cloud Servers
Note: If you're selling in multiple currencies, make sure to enable those currencies in WHMCS as well.
2. Sync Products to WHMCS
Once your cloud server configurations are ready:
- Return to WHMCS > Addons > 20i Cloud Servers
- Click Sync Cloud Server Products with My20i
- This may take a moment – it will convert your My20i Cloud Server settings into WHMCS product entries
After syncing, go to Setup > Products/Services in WHMCS. You’ll see all the imported Cloud Server products, ready for your customers to purchase.
