Jump to content

Intermittent Pending Status in WHMCS with DirectAdmin Integration


Recommended Posts

Hello WHMCS Community,

We are encountering an issue with our WHMCS setup, integrated with DirectAdmin, where some orders remain in a "Pending" status even after successful payment. Here's a detailed breakdown of the problem and steps we've taken:

Issue Summary

  1. A user successfully pays their invoice.
  2. WHMCS logs indicate that the "Running Module Create on Payment" event is triggered.
  3. The user account is created instantly in DirectAdmin, confirming that communication between WHMCS and DirectAdmin is functional.
  4. However, the user status in WHMCS remains "Pending", requiring manual intervention to update it to "Active."

Troubleshooting Steps So Far

  • System Logs: The module log does not show any errors or relevant details post-payment.
  • Integration Check: WHMCS and DirectAdmin are on the same server, eliminating network communication issues.
  • Testing:
    • Repeated tests show the issue occurs intermittently, approximately 1 out of every 10 automated orders.
    • Manual tests and test orders placed via the WHMCS admin panel process correctly without errors.
  • Server Logs: DirectAdmin logs confirm user accounts are created without issues, and no errors are reported.

Question for the Community

Has anyone else encountered this issue or something similar?

One scenario we’ve identified as a possible cause is when a user leaves the payment or confirmation page while the product creation is being processed in WHMCS. However, we are fairly certain this is not the only cause, as the product creation process is typically quick and doesn’t give the user the impression that something is wrong.

We suspect there might be other underlying reasons contributing to this behavior.

Request for Insights

We’d greatly appreciate it if anyone could share:

  1. Their experiences with similar issues.
  2. Steps or methods they used to debug and resolve this problem.
  3. Any advice on additional troubleshooting steps to identify potential causes beyond the known scenario.

Thank you in advance for your input!

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