infomike Posted December 4, 2009 Share Posted December 4, 2009 Hi There, I'm attempting to integrate WHMCS with my current order system mainly so that I dont have to manually put all the clients' address details. I am just trying to setup a hosting account on a cpanel server - the system can: 1. Create a new client 2. Create order for that client. I then try and run a modulecreate command with the following $postfields["username"] = $username; $postfields["password"] = md5($password); $postfields["action"] = "modulecreate"; $postfields["accountid"] = $userID; I unfortunately get an error: The following error occured: Sorry, a group for that username already exists. Alternatively when i go to the products/services screen in WHMCS it's created the client and order and has the domain name, I click create and it automagically creates a username/password and passes it to cpanel. From my script it does not seem to autogenerate a user/pass Am I missing something obvious? Thanks Mike 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.