• Resolved b1026q9

    (@b1026q9)


    I use WP forms for contact form and when I activate Complianz plugin, recaptcha doesn’t work.

    I also use recaptcha for creating account and forgot password page with Advanced noCaptcha & invisible Captcha plugin, but this also doesn’t work.

    Could you help me?

    • This topic was modified 5 years, 2 months ago by b1026q9.

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

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Contributor Leon Wimmenhoeve

    (@leonwimmenhoeve)

    Hi @b1026q9,

    Thank you for reaching out. By default, Complianz blocks Recaptcha before consent (in EU).

    Which version of Recaptcha are you using? Could you share the page you need help with so we can take a look? You can do this anonymously by entering your URL in ‘page I need help with’.

    Thank you.

    Regards,
    Leon

    Thread Starter b1026q9

    (@b1026q9)

    I use v3. Please check the page under /en/contact/
    /en/my-account/lost-password/

    • This reply was modified 5 years, 2 months ago by b1026q9.
    Plugin Contributor Leon Wimmenhoeve

    (@leonwimmenhoeve)

    @b1026q9 The site requests a password to enter. Is that correct?

    Thread Starter b1026q9

    (@b1026q9)

    Sorry I have deactivated it now.

    Plugin Contributor Leon Wimmenhoeve

    (@leonwimmenhoeve)

    @b1026q9 I get a 404 for the page you are mentioning, but I found /my-account/lost-password/.

    I see Recaptcha and Complianz activated, but everything seems to be working as expected.

    Could you specify what kind of issues you are experiencing?

    Regards,
    Leon

    Thread Starter b1026q9

    (@b1026q9)

    I cannot submit form. When I do, it says

    Google Recaptcha verification failed.

    Plugin Contributor Leon Wimmenhoeve

    (@leonwimmenhoeve)

    @b1026q9 Could you disable the Recaptcha integration under Integrations -> Services?

    Does this solve the problem?

    Thread Starter b1026q9

    (@b1026q9)

    no it still gives the same message. But now recaptcha icon appears.

    Plugin Contributor Leon Wimmenhoeve

    (@leonwimmenhoeve)

    @b1026q9 I suspect that this is not caused by Complianz, because the error is also displayed while Recaptcha is not blocked by Complianz. You could confirm this by temporarily disabling the Complianz plugin.

    You could check if your Recaptcha keys etc. are still valid. Probably this is causing the error.

    Regards,
    Leon

    Thread Starter b1026q9

    (@b1026q9)

    I think recaptcha keys are correct.
    But now I tried on my site online. When I deactivate Complianz, the contact form works. When I activate plugin but disable intergration, the form doesn’t work.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Hi @b1026q9,

    I’ve checked it, the WP Forms reCaptcha requires a separate integration, I’ve created a fix for this, which will be released in the next update. For now, you can fix it by adding the following code to your theme’s functions.php:

    function my_cmplz_wpforms_dependencies($tags){
    
    	$tags['recaptcha/api.js']='grecaptcha';
    
    	return $tags;
    }
    add_filter('cmplz_dependencies', 'my_cmplz_wpforms_dependencies');

    The problem is that the inline script has to be activated after the recaptcha script, otherwise the script will break.

    This is tested with WP Forms, Recaptcha V3:
    https://real-flamingo.w5.wpsandbox.pro/

    Let me know if you have any questions about this!

    Thread Starter b1026q9

    (@b1026q9)

    OK, great. I’ll test.
    And how about Advanced noCaptcha & invisible Captcha plugin? Lost password page uses this plugin and this also doesn’t work with Complianz
    being activated.

    Thread Starter b1026q9

    (@b1026q9)

    Your fix with ReCaptcha integration deactivated on Complianz fixed the problem!
    Not only the contact form but also lost password page are also working.
    But is it OK to deactivate ReCaptcha integration on Complianz? Not against GDPR??

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    That’s good to hear!

    As required by the GDPR, Complianz blocks reCaptcha until the user has given consent. If you revoke consent, you will see the reCaptcha badge disappear, only to return if you consent to cookies.

    The user is then informed of the fact that data is tracked by the website (in this case, by Google/reCaptcha).

    Thread Starter b1026q9

    (@b1026q9)

    But then I shouldn’t disable the Recaptcha integration under Integrations -> Services, as Leon suggested, right? Because that would be against GDPR, correct?
    Now I see that if I check Marketing, then contact form with recaptcha works.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Recaptcha not working’ is closed to new replies.