Jump to content

cPanel Automatic Account Creation Issues


oesman

Recommended Posts

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 by oesman
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • WHMCS Support Manager

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated