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...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 28 Guests (See full list)

    • There are no registered users currently online
×
×
  • 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