Support » Plugin: Contact Form 7 » Contcat form fails after reCAPTCHA (v3) integration

  • Resolved thewomb

    (@thewomb)


    Hi. nice plugin but after adding reCAPTCHA (v3) keys the form fails with a generic error message “There was an error trying to send your message. Please try again later.” however if i remove the keys the form works again… any ides why?

    TW

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

    (@takayukister)

    I get something similar, but the error message is “Failed to send your message. Please try later or contact the administrator by another method.”
    I suspect the problem is that Google thinks I am a spammer. On other sites with reCaptcha 2 I have to click the pictures. I have tried lowering the threshold by
    public function get_threshold() {
    /* Threshold lowered to 0.30 */
    return apply_filters( ‘wpcf7_recaptcha_threshold’, 0.30 );
    }
    but it still doesn’t like me.

    Any thoughts? I cannot log the reject messages as my WordPress installation cannot be upgraded and it is at too low a level to permit the installation of Flamingo.

    Thread Starter thewomb

    (@thewomb)

    thanks for the link Takayuki but it offers no solution.

    I can’t even send an email to myself!

    Thread Starter thewomb

    (@thewomb)

    XHRPOSThttps://www.arisaig.com.au/wp/wp-json/contact-form-7/v1/contact-forms/715/feedback
    [HTTP/2.0 200 OK 1398ms]

    JSON
    into #wpcf7-f715-p706-o1
    status spam
    message There was an error trying to send your message. Please try again later.
    Response payload

    XHRPOSThttps://www.google.com/recaptcha/api2/reload?k=6Ld3IrkUAAAAAAAo5cGinYrUAexvBt_0WCGNdssa
    [HTTP/2.0 200 OK 333ms]

    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

    Response payload

    1

    )]}’

    2

    [“rresp”,”03AOLTBLR7DAxcl26hex8DCnAfIllucOuyGkDnUTtpHCFu6DskEW1-kkT-mgJiTcQXvVcWDC60G9T4wyoxcXLKQ0TdB_EOWcsGiacUd76Wo8UGeG-wFFcmyfOpDfVxPKlUhdvxr6RjbQhi7EC_kZxaL-6gJdfukKpDQr5Eay8FvDRNGP0sMugpEiaje_KXY2v02f0I4uLu52ETb1OwSFYZnCvJH40MIdM_xVPuyfZiKYn84VEuHXWs9gxz7dF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E9cudxh3WvP744Pgpk8Ty6SSMh33BPv9ZKUnlvFvhwt5-HRjgA3gO6JXO811-AAPL7N9Dxopoz5mtkLB7RbIASlixo62yGI8XJWAx0Hlk3F7O6YA1mtdYQskxnKJovJ_Q”]

    4

    Thread Starter thewomb

    (@thewomb)

    Sorry forgot to add this to the above post:

    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

    Thread Starter thewomb

    (@thewomb)

    The solution appears to be to remove the domain from Google reCaptcha and then add again with fresh keys using the new keys in your WordPress plugin.

    I just fixed two installs by doing this.

    Thanks to thewomb I seem to have resolved this problem too.
    There was a Google reCaptcha V2 set of keys as well as the V3 ones. When I deleted the V2 keys it started to work.

    The solution appears to be to remove the domain from Google reCaptcha

    This has been reported here previously as a common mistake made by users – see reCAPTCHA (v3) for detailed step by step instructions.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Contcat form fails after reCAPTCHA (v3) integration’ is closed to new replies.