Jump to content

WHMCS order page stuck in chrome browser


Recommended Posts

I am facing a critical issue, my whmcs complete order page stuck in chrome browser. The complete order button keep on loading and don't redirect to gateway page. Attached pic for reference.

It is working fine in Mozilla firefox, opera browser.

In the console, I am getting the following

"[DOM] Multiple forms should be contained in their own form elements; break up complex forms into ones that represent a single action: (More info: https://goo.gl/9p2vKq) <form method=?"post" action=?"https:?/?/?myule.com/?folder

?cart.php?a=checkout&submit=1" name=?"orderfrm" id=?"frmCheckout">?…?</form>?"

Capture.PNG

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @rabijit,

Does the issue persists if you switch to the stock "six" template temporarily?

.../cart.php?a=checkout?systpl=six

If the issue doesn't occur on the stock template, then that indicates something in your custom template is preventing the checkout form being submitted properly.

Link to comment
Share on other sites

Hi John, I was using default six theme without any customization or add on. Now downgraded to WHMCS 7.X for the time being.  

30 minutes ago, WHMCS John said:

Hi @rabijit,

Does the issue persists if you switch to the stock "six" template temporarily?

.../cart.php?a=checkout?systpl=six

If the issue doesn't occur on the stock template, then that indicates something in your custom template is preventing the checkout form being submitted properly.

 

Link to comment
Share on other sites

17 minutes ago, EvolveWebHosting said:

Interesting. A couple of customers have reported this to us and they are Windows users. It doesn't seem to happen for everyone but I can confirm it happens for some.

Also now I switched to WHMCS captcha from Google invisible recaptcha

Link to comment
Share on other sites

  • 2 months later...

This is a very old issue. It is hard to reproduce because it doesn't happen all the time. This seems to be related to a server timeout and the JavaScript just keeps loading forever.

If you check your server logs there will be some timeout internally. Basically the JavaScript on that form has no timeout and does not fail gracefully when there is no respond back from the server. The effect is that visitors will see the loading button for ever without any change. The same issue happens on some payment buttons as well. At least I experienced this before several time on testing on different WHMCS versions.

As for the captcha, this is my personal opinion, but you should not activate a Google service on your forms if you value visitors privacy. Google reCaptcha is basically sending all your visitors data back to Google and this might not be in compliance with your privacy policy. I never had an issue with the WHMCS build in CAPTCHA, but I also would advise WHMCS to build in some alternatives to Google like hCaptcha which uses the same Google API code and implementing this would probably 1 line of code in WHMCS. And as opposed to helping Google build their AI, that service will pay users for every captcha solved.

Edited by yggdrasil
Link to comment
Share on other sites

1 minute ago, yggdrasil said:

This is a very old issue. It is hard to reproduce because it doesn't happen all the time. This seems to be related to a server timeout and the JavaScript just keeps loading forever.

If you check your server logs there will be some timeout internally. Basically the JavaScript on that form has no timeout and does not fail gracefully when there is no respond back from the server. The effect is that visitors will see the loading button for ever without any change. The same issue happens on some payment buttons as well.

No, it is not for server side issue. It is recaptcha issue. I disabled recaptcha on checkout page and issue is gone.

Link to comment
Share on other sites

13 minutes ago, rabijit said:

No, it is not for server side issue. It is recaptcha issue. I disabled recaptcha on checkout page and issue is gone.

The screenshot you posted has no recaptcha on the checkout page. I have never used Google recaptcha on my installation before and I also experienced that same issue.

Edited by yggdrasil
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