• Resolved Denis

    (@ron-klaasma)


    After activating integration of reCAPTCHA v3 with Contact Form 7 version 5.1.5, an error message with an orange border appears every time I try to send the form. There are no suspicious requests showing on the Google reCAPTCHA administration page. As soon as I deactivate the integration, the form works normal again and emails are sent.

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

    (@takayukister)

    If you’ve registered correctly for reCAPTCHA v3 (by following the instructions at reCAPTCHA v3) & it’s working, you should now see the reCAPTCHA Privacy badge displayed at the bottom of every page on your site (not just the pages where you’ve got CF7 forms).

    recaptchaV3-privacy-icon.png

    If the reCAPTCHA badge is not showing, this shows that reCAPTCHA v3 is not working on your site.

    We have reCAPTCHA v3 installed on several sites that we host. It stopped working after the 19 November 2019. It looks like Google changed something. We have temporarily removed the V3 keys and hope there will be a solution for this issue soon.

    Best wishes,
    Klaas

    We experimented a bit and added some code where we lowered the minimum score required for google to distinguish a human from a bot:

    function wpcf7_recaptcha_verify_response($is_human, $response_body)
    {
    $score = isset($response_body[‘score’]) ? $response_body[‘score’] : 0;
    error_log(‘wpcf7 score = ‘. $score);
    $threshold = 0.2;
    $is_human = $threshold < $score;
    return $is_human;
    }
    add_filter(‘wpcf7_recaptcha_verify_response’, ‘wpcf7_recaptcha_verify_response’, 10, 2);

    The value 0.2 is of course much lower than the recommended 0.5, but we found that many perfectly human form submissions only reach a score of 0.3. So Google must have sharpened their recaptcha algo since about a week ago. I searched for further proof of this, but rather to no avail.

    Best,
    Klaas

    Thread Starter Denis

    (@ron-klaasma)

    Thank you for your replies. Sometimes it’s best to just wait a while. reCAPTCHA started working after about thirty minutes. However, I disabled it, because it’s way too intrusive.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error orange border after activating reCAPTCHA v3’ is closed to new replies.