Jump to content

Hi ! Billing API errors when I create a service ?_


diseee

Recommended Posts

Hi, i get a error when I create a service with WHMCS for TCADMIN V2...

 

The error is...

Module Command Error

-1 - System.NullReferenceException: Object reference not set to an instance of an object at Web.GameHosting.billingapi.xc9f5c0c708acbff6 () [0x00000] in :0 at Web.GameHosting.billingapi.Page_Load (System.Object sender, System.EventArgs e) [0x00000] in :0

 

Can anyone help me ? :)

Link to comment
Share on other sites

user_country=IT

user_phone1=xxxx

user_name=

user_password=xxx

game_id=17

game_slots=

game_private=0

game_additional_slots=

game_branded=0

game_additional_arguments=

voice_id=

voice_slots=

voice_private=0

voice_additional_slots=

skip_page=1

game_datacenter=1

game_hostname=

game_rcon_password=

game_private_password=

voice_hostname=

voice_rcon_password=

voice_private_password=

=

 

I think that it's a problem of a game informations... slots and others...

I setup my default_config.php like this:

$billing_api_values["game_id"] = $params["configoption3"];

$billing_api_values["game_slots"] = $params["configoption5"];

$billing_api_values["game_private"] = $params["configoption7"];

$billing_api_values["game_branded"] = "CustomField:Brand";

$billing_api_values["game_datacenter"] = "CustomField:Location";

$billing_api_values["game_hostname"] = "CustomField:Hostname";

$billing_api_values["game_rcon_password"] = "CustomField:Rcon Password";

$billing_api_values["game_private_password"] = "CustomField:Server Password";

Link to comment
Share on other sites

You should not have to edit default_values.php to set the hostname, datacenter and passwords. They are in the main module settings.

 

Restore default_values.php to the default. Configure the basic module settings without making any changes to default_values.php. After that works correctly you can start editing default_values.php for variables that are not available in the module settings.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use