• Resolved cwarrent

    (@cwarrent)


    Hello,

    Aware of the recent changes from reCAPTCHA v2 to v3 and how v3 added an icon sitewide to the bottom right area of your site by default.

    Today added a new contact form 7 page with reCAPTCHA v3 and I can see the code to invoke reCAPTCHA is present in the source code but I cannot see the usual icon.

    Any idea if there’s been a change to how reCAPTCHA is deployed?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter cwarrent

    (@cwarrent)

    On closer inspection it would appear that there’s an error shown in the console:


    Uncaught Error: Invalid site key or not loaded in api.js: 6LeBbY4UAAAAADtgAXotuMkijE-KBm9twp08DSru
    at Object.I4 [as execute] (recaptcha__en.js:499)
    at execute ((index):184)
    at Yb (recaptcha__en.js:501)
    at UF (recaptcha__en.js:498)
    at recaptcha__en.js:513
    at recaptcha__en.js:532

    The site key is fine so unsure of what is causing the conflict as other sites share some of the same code for this site and they work fine too.

    the same here πŸ™

    It’s not showing for me either. And I’m not getting the error in console. And the api is being called. Everything looks right. I’ve even got the icon in the bottom right of the page. But – recaptcha is not showing. Even in incognito window.

    Thread Starter cwarrent

    (@cwarrent)

    Are you aware that with V3 reCAPTCHA now works in the background whereas V2 has a robot checkbox option added to contact forms? Just checking as it may all be working for you fine!

    reCAPTCHA v3 does work in the background but you should be seeing the Google reCAPTCHA v3 icon appearing on every website page.

    recaptchaV3-privacy-icon.png

    If it’s not there, reCAPTCHA v3 is not working correctly on your site (unless you deliberately disabled it).

    The info you supplied indicates reCAPTCHA v3 is not working correctly on your site.

    See Contact Form 7 5.1.1 – theme needs to properly loads JavaScript in the footer area of each page.

    Switch temporarily (nothing will be lost when you switch back) to a WP default theme to see if the problem goes away.

    If this fixes the problem & you can’t get your theme fixed, you might try using Contact Form 7 – reCaptcha v2 in addition to Contact Form 7. Once installed and configured it offers the same reCaptcha functionality you are used to in previous versions of Contact Form 7 (recommended by CF7 plugin author).

    Thread Starter cwarrent

    (@cwarrent)

    Hello guys.

    To update I’ve tried defaulting to TwentyNineteen and the reCAPTCHA works so there’s an issue somewhere.

    I was confused initially as it seemed related to a fresh install where most of the base code has been used before with little issue.

    At this stage the issue is more my own doing so appreciate the feedback so far and I’ll try investigate the issue deeper.

    Thread Starter cwarrent

    (@cwarrent)

    As an update we found the issue.

    Basically in our functions file there was some code that was stripping out query string data which in effect broke the following line:

    https://www.google.com/recaptcha/api.js?render=xxxxx0000xxxxxxxx00000xxxxxxxxxxx

    So error our end but maybe this post gives further emphasis to test the plugin with a core theme and then to debug where the issue may be.

    Thanks to all those that replied.

    Hello, I have the same problem.

    How I can a fix it?

    I don’t understand your solution.

    Thanks,
    Jose

    Thread Starter cwarrent

    (@cwarrent)

    Hello,

    Basically our solution was unique to our own site and errors needing fixing.

    I would recommend as said above by others, firstly revert to a default theme and test if it works. If it still fails then try disabling plugins to see if this fixes it.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘reCAPTCHA icon now not showing?’ is closed to new replies.