Jump to content

WHMCS tcadmin_advanced and v2


LFA

Recommended Posts

tcadmin2_advanced is available here:

http://clients.tcadmin.com/downloads.php?action=displaycat&catid=5

 

This post was a hack to create reseller packages with tcadmin_advanced.

 

 

This file allows create/suspend/unsupend/delete commands for reseller packages.

 

To create a reseller package you need to specify the reseller role id and the package you want to assign.

 

For example:

$billing_api_values["role_id"]="3";

$billing_api_values["package_id"]="1";

 

or if the client selects the package using a configurable option:

$billing_api_values["role_id"]="3";

$billing_api_values["package_id"]="ConfigOption:Package";

default_values_v2.php.txt

Edited by LFA
Link to comment
Share on other sites

  • 6 months later...

Yes I am using the tcadmin2_advanced module. I didn't think to look on the scheduled tasks area; I thought that was for something else. I'm getting this error: "Error - cannot cast from source type to destination type". The task is "Task: Determine voice server location"

 

My datacenter ID is 1, and it is what is chosen in whmcs.

Link to comment
Share on other sites

This is what I get:

 

cat BillingApi.LastCommand.log

- - - - - - - - - - 6/26/2011 5:27:13 PM - - - - - - - - - -

role_id=

package_id=

game_additional_slots=0

game_additional_arguments=

voice_additional_slots=0

voice_additional_arguments=

voice_upload_quota=

voice_download_quota=

user_name=Testg

user_password=bH16s3yw5P

game_package_id=103

voice_package_id=103

package_package_id=103

client_package_id=103

game_id=

game_slots=

game_private=

game_branded=

game_datacenter=

game_hostname=

game_rcon_password=

game_private_password=

voice_id=TEAMSPEAK3

voice_slots=12

voice_private=

voice_branded=

voice_datacenter=1

voice_hostname=

voice_rcon_password=

voice_private_password=

skip_page=1

client_id=1

user_email=*****@gmail.com

user_fname=Test

user_lname=guy

user_address1=

user_address2=

user_city=

user_state=

user_zip=

user_country=US

user_phone1=

user_phone2=

response_type=text

tcadmin_username=**********

tcadmin_password=**********

function=AddPendingSetup

Link to comment
Share on other sites

  • 1 year later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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