oesman Posted January 20, 2011 Share Posted January 20, 2011 (edited) So I'm having several issues with automatic creation of cPanel accounts. Issue #1 - Product status remains pending. A shared or reseller account is ordered. The order is paid for and the account is automatically setup on the server. I can see the new account in cPanel (shared) or WHM (for reseller). However the product (not order!) status remains 'Pending'. Even once the order is verified and set to active the product status does not change. The client never receives a welcome email with login information. Clicking the create button yields an error since the product is actually created. Issue #2 - "Fill active server until full then switch to next least used" causes WHMCS to ignore server groups. If I set my Reseller server group to "Fill active server until full then switch to next least used" any orders placed will be placed on a shared cPanel server which is NOT in the Reseller server group. Support told me to use "Add to the least full server" in my group configuration. It does indeed work with that setting, however this does not make any sense. If this option was designed to bypass server groups why would they make it configurable on a per-group level? Any help would be greatly appreciated! Edited January 20, 2011 by oesman 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted January 20, 2011 Share Posted January 20, 2011 For the first issue, have you tried creating the account on the service info page? If you click the "Create" button, see if it returns any type of error message. I had this same issue when I updated to 4.4.1, the account would get created but the cPanel module would return an error and leave the status as pending. You can verify this by trying to activate the account on the service info page. It should return something like an unknown error. if you're getting that, they should have a patched cpanel module they can send you. Open a ticket with WHMCS about it. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 20, 2011 WHMCS Support Manager Share Posted January 20, 2011 1. In addition to laszlof's suggestion you can also look at Utilities > Activity Log to see any errors that occurred. 2. This is expected behaviour. If the active server you've selected isn't in the server group, the account will still be provisioned on the active server. 0 Quote Link to comment Share on other sites More sharing options...
oesman Posted January 20, 2011 Author Share Posted January 20, 2011 Thanks for the help guys. For the 2nd issue I suppose I understand that, its just kind of an obtuse setting. For the first issue, the account is being created properly, there are no errors in the log. It just wont set the product status to active and send the welcome email. If I click the create button on the product page ill get an error saying the account exists. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 21, 2011 WHMCS Support Manager Share Posted January 21, 2011 What entries do you see in the Activity Log at the time of ordering? 0 Quote Link to comment Share on other sites More sharing options...
oesman Posted January 26, 2011 Author Share Posted January 26, 2011 John, Sorry for the delay, from the log you can see that my sample order is made and passes the fraud check. At this point it should be automatically created and on the server side (whm) it does get created. However the log only shows: 25/01/2011 20:53 Order ID 328 Passed Fraud Check 25/01/2011 20:53 Email Sent to cpanel@xxxxx ([Ticket ID: 123917] New account on xxxxxxxxxxxxxx (xxxxxxxxxxxx.com)) Now I login to WHMCS admin and accept the pending order. However it tries to create the account again and fails: 25/01/2011 20:53 Running Module Create on Accept Pending Order 25/01/2011 20:53 Module Create Failed - Service ID: 320 - Error: Sorry, a group for that username already exists. So the account was auto created, but WHMCS does not realize that happened and tries to create it again. If I terminate the account (via WHMCS or via WHM) and then create it via the create button, it works fine: 25/01/2011 20:54 Module Terminate Successful - Service ID: 320 25/01/2011 20:54 Order Accepted - Order ID: 328 25/01/2011 20:54 Module Create Successful - Service ID: 320 Why does WHMCS create the order automatically (as it should) but not realize that it did that? It doesn't even log that it created the account when it was paid for. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 26, 2011 WHMCS Support Manager Share Posted January 26, 2011 Please open a support ticket with your admin login details. 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.