• Resolved rikkerdt

    (@rikkerdt)


    Hi!

    I’m having troubles with v3 of recaptcha and sumbled accros this plugin. After setting everything up via the provided steps, I get the same message everytime “Could not verify the reCaptcha response.”.

    Hope this is enough info for you to help me.

    Kind regards,

    Rik

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    When viewing the provided page we expected to see references to wpcf7-recaptcha-controls.js in the page source. Could you verify that your theme uses wp_head() in the header and wp_footer() in the footer files respectively?

    Otherwise, could you verify the installation steps and that you’ve selected ReCaptcha v2 under Contact > ReCaptcha Version in the admin panel?

    Thread Starter rikkerdt

    (@rikkerdt)

    Hi,

    Thanks for the fast response.
    I checked the wp_head() and wp_footer(). These were not included. I just added them and there now is more to be seen. No error, but just an orange-bordered empty box. Is there something I can do about this?

    Also, I can verify the v2 is enabled with google.com as domain to verify with.

    Greetings,

    Rik

    • This reply was modified 3 years, 4 months ago by rikkerdt.
    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    Thank you for verifying that the wp_head() and wp_footer() functions are in the proper places. We suspect there may be some invalid HTML in the document. The reCaptcha script is coming back with the following console error:

    Error: reCAPTCHA placeholder element must be empty

    This error has cropped up twice recently, but we cannot replicate it under any circumstances. Could you paste the [recaptcha] script you’re using to see if there may be any malformed attributes?

    Thread Starter rikkerdt

    (@rikkerdt)

    Hi,

    where can I find that error (for in the future)?
    Here is my entire form:

    [text* Voor- en achternaam]
    <label>Voor- en achternaam</label>
    
    [email* E-mail]
    <label>E-mail</label>
    
    [text* Onderwerp]
    <label>Onderwerp</label>
    
    [textarea* Bericht]
    <label>Bericht</label>
    
    [submit class:o-btn "Verstuur bericht"]
    [recaptcha class:chaptie size:compact align:right]

    Hope this can clarify something.

    Plugin Author IQComputing

    (@iqcomputing)

    Thanks, @rikkerdt,

    You can generally see these errors in your browser’s Developer Tools. Every browser should have them. More information on opening your Developer Tools can be found via the Handbook link below:

    https://www.ads-software.com/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis

    Unfortunately, even with the provided form shortcodes, we’re still unable to replicate this issue. We suspect it has something to do with the theme but cannot pinpoint the exact cause of the error.

    We recommend taking a backup of your website, understanding how to do a restore, and installing the WordPress Health Check & Troubleshooting Plugin. This plugin will allow you to disable all plugins except the necessary Contact Form 7 & ReCaptcha v2 for Contact Form 7, along with reverting to a default 20XX Theme. For more information, we recommend reading their documentation, it’s a very nifty and helpful plugin! Using this plugin, you may be able to narrow down if it’s a plugin conflict or a theme conflict.

    Hopefully, using the linked tool above, you’re able to narrow down and solve your issue. Should you find what the root cause is, we would love to know. Otherwise, if you have any questions, you may reply back to this thread, and we can attempt to assist further. Have a wonderful rest of your week!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Followed directions but recaptcha could still not verify’ is closed to new replies.