Jump to content

Google recaptcha error on checkout


slim

Recommended Posts

Since updating I have had several reports of customers getting a Google recaptcha error on checkout. I use the latest invisible google recaptcha in WHMCS, but it seems the checkout is somtimes wanting customers to do a recaptcha - and they cant because nothing is displayed.

The Browser of the latest user to complain was FireFox.

Has anyone else had similar complaints?

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @slim,

With invisible recaptcha, the image challenge will pop-up near the order submission button (click images containing bikes, lampposts, boats, cars etc.)

Does the problem occur on the stock "Six" template?

 

If yes, I'd suggest checking your browser's developer tools console for any errors. As it could be a javascirpt or css conflict in a custom theme causing the challenge not to be displayed.

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi there,

I tested in v7.10 and can confirm the invisible captcha challenge is correctly displayed.

 

To test for yourself you can set the Security Preference in your Google reCaptcha settings to the highest setting.

Then use an incognito browser window, and the challenge will most likely be displayed.

Annotation 2020-04-26 114849.png

Link to comment
Share on other sites

5 minutes ago, slim said:

Sorry, but it’s not working for all clients. 

Did you have any error logs in the browser console? Did you check your google api key for errors? Sometimes there're restrictions for the api key that cause errors.

Link to comment
Share on other sites

The API keys are fine - they work well enough on the domain checker page.

the checkout however most certainly has issues - I will try to find some errors tomorrow in my browser.

from my phone in Edge (iPhone) tonight -

I can say it’s an issue.

Link to comment
Share on other sites

Just tested in private browser.. This is what I get on checkout. Note: I cant see anything in the inspect console (apart from this eWay related warning):

A cookie associated with a cross-site resource at https://secure.ewaypayments.com/ was set without the `SameSite` attribute. A future release of Microsoft Edge will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

 

whmcs captcha error.png

 

Also note: Captcha is enabled in my admin login, so if there was a problem with my captcha API keys, I wouldnt be able to login to the admin area of my own install.

Im using the Invisible Recaptcha.

Edited by slim
Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @slim,

Thanks for providing that information. I've re-produced those settings on my stock 7.10.1 installations on two different server configurations,  and the invisible puzzle is displayed when necessary.

Please ensure your recaptcha keys are set to the type "Invisible" in your Google account settings: https://docs.whmcs.com/Google_reCAPTCHA#Enabling_Invisible_reCAPTCHA

Link to comment
Share on other sites

John, If the keys I had used were not correct, then I wouldn't be able to login to the admin area - It uses the same keys for captcha. 

It works PERFECTLY with the visible v2.. its the invisible that's broken. Multiple (of my) customers report it, I can replicate it and other WHMCS customers have advised of the same issue. My WHMCS is 100% stock templates.

Link to comment
Share on other sites

Just now, McAtze said:

Google Captcha v2 use different Keys than the invisible Captcha. For invisible you have to create API key v3 at your Google account. 
 

For me, the invisible Captcha working fine with WHMCS 7.10.1

Yes! I know. IT WORKS everywhere when I select V2 and use V2 keys. It doesnt work when we use V3 invisible keys and select the appropriate option in WHMCS - at least, not on the checkout.. It does seem to work on the admin login page.

Link to comment
Share on other sites

7 hours ago, slim said:

Yes! I know. IT WORKS everywhere when I select V2 and use V2 keys. It doesnt work when we use V3 invisible keys and select the appropriate option in WHMCS - at least, not on the checkout.. It does seem to work on the admin login page.

Does invisible work on your domain checker too? It works fine if you use the checker from the main home page field but not if you use this URL for us: /cart.php?a=add&domain=register

I gave up on it and turned it off completely. Haven't had any spam issues yet.

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