Skip to content

WHMCS Billing Module

Ryan G edited this page Sep 20, 2013 · 1 revision

The WHMCS billing module works within WHMCS, and allows you to create new servers through WHMCS and have it automatically create those servers in GamePanelX, via the API.

Table of Contents

Upload WHMCS Module

The GamePanelX V3 WHMCS Module can be obtained from our GitHub Page: https://github.com/devryan/GamePanelX-WHMCS

You must first upload the 'gpxv3.php' file to your WHMCS installation. You should upload it in this structure:

 [whmcs install dir]/modules/servers/gpxv3/gpxv3.php

Create a new Server

First, login to WHMCS as your admin user.

Create a new server group, then add a new server. Make the "IP Address" field set to the URL to your site, /api/api.php. For example:

http://<domain>/&lt;gpx&gt;&lt;/gpx&gt&lt;/api/api.php at&gt;</domain>the bottom, under "Server Details", set the Type to "Gpxv3". Set the "Access Hash" to your API Key, found under the Configuration page of your GamePanelX Pro master server.

Create a Product

Start by creating a new WHMCS product (Configuration -> Products/Services -> Create a New Product.

You should set the Product Type to "Other", and give your product a Name and Description.

Module Settings

Under "Module Settings", and "Module Name", select "Gpxv3" from the list.

Under "Server Group", select the Server Group you just created.

Under "Server Name", type the short gpx name of the game. If you wanted Counter-Strike: Source, you'd use "cs_s".

Custom Fields

You must use the exact following names for your custom fields:

Field Name: Username

Description: Control Panel Username

Field Name: Password

Description: Control Panel Password

Field Name: Rcon Password

Description: Remote Control server password

Field Name: Private Password

Description: Password if server is to be private

These are all "Text Box" fields.

Configurable Options

Create a new group called whatever. In this group, create the following:

Option Name: Game Slots

Options: Total Player Slots (x.xx monthly)

Option Name: Private Server

Options: Private Server (0.00 monthly)