WHMCS
Sell BytePanel servers in WHMCS.
The BytePanel module for WHMCS creates, suspends, unsuspends, terminates and upgrades servers, and adds an Open control panel button for customers.
Install
- Download the
integrations/whmcsfolder and copymodules/servers/bytepanelintomodules/servers/in your WHMCS install. - In the panel, go to Admin → Settings → Billing, choose WHMCS, enter your store URL and generate an API key.
- In WHMCS, go to System Settings → Servers → Add New Server. Choose BytePanel, enter the panel's hostname (for example
panel.example.com), and paste the API key into Password or Access Hash. Click Test Connection.
Create a product
Create a product with the BytePanel module. On the Module Settings tab, choose a plan, and optionally a game and location. The lists load from your panel.
Let customers choose
Add configurable options to the product with these names:
| Option name | Values |
|---|---|
Game | Game IDs. |
Location | Location IDs. |
A game setting in capitals, such as MAX_PLAYERS | Passed to the server as that setting. |
Write each option value as the ID, a pipe and the label customers see, for example clx123abc|Minecraft. Copy IDs from the dropdowns on the Module Settings tab, or from the billing API's catalog.
A custom field named Server Name sets the server's name.