-
Notifications
You must be signed in to change notification settings - Fork 94
WHMCS Billing Module
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.
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
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>/<gpx></gpx></api/api.php at></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.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.
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".
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.
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)