Jump to content

set tca username/pass on whmcs order form?


unrealized

Recommended Posts

Sure is, create two text fields on the "custom fields" tab on your product in WHM. something like "TCAdmin Username" and "TCAdmin Password"

 

Then modify the "default_values.php" file on your TCAdmin Advanced module. The lines you are looking for are about half way down

 

/* ************************** */
/* Client UserId and Password */
/* ************************** */

$billing_api_values["user_name"] = "CustomField:[color="Red"]TCAdmin Username[/color]";
$billing_api_values["user_password"] = "CustomField:[color="Red"]TCAdmin Password[/color]";

 

The bits in RED must match the names of the custom fields exactly.

Link to comment
Share on other sites

Archived

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

  • Who's Online   0 Members, 0 Anonymous, 4 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