Jump to content

WHMCS advanced to generate a custom login !


iLight

Recommended Posts

Hello, I woud like whmcs_tcadvanced to create a custom user for each new customer.

 

$billing_api_values["user_name"] = $params["username"];

$billing_api_values["user_password"] = $params["password"];

 

Doesn't work, it creates the game with a custom user (firstname + letter of lastname) but it doesn't put it in username of the product configuration so the user can change it's password and login directly to tcadmin.

 

Ty

Link to comment
Share on other sites

Im not 100% sure what your asking. I *THINK* your asking for the user to be able to set there user/pass on order..?

 

To do this, create 2 custom fields, one called Username and one called Password. Set them to required and show on order form. Do this on all products (well, the ones you want, then link them to a certain values file).

 

Then in the values file, change/set these:

 

$billing_api_values["user_name"] = "CustomField:Username";

$billing_api_values["user_password"] = "CustomField:Password";

 

Regards,

 

Adam

Link to comment
Share on other sites

nop I don't meant that. Well, when users buy a game server, in WHMCS administration, the Username field isn't filled. And I have to put it myself to make it working for users : so they can change their password and log to tcadmin.

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