reCAPTCHA v3 blocks CF7 form sending | Spam – orange rectangle | JS error
-
Hello,
I’ve decided to post the following, after reading many threads discussing the false positive spam detection malfunction using reCAPTCHA v3.
I have a single website with one contact form (duplicated in two pages). Any form sending attempt is blocked by reCAPTCHA v3 followed by an orange rectangle with the following error message:
There was an error trying to send your message. Please try again later.Moreover, when the page is loaded the following js error occurs:
Error: Invalid site key or not loaded in api.js:
<my site key>The configuration on both Google reCAPTCHA settings and CF7 integration section seems to be just fine.
The form used to work perfectly fine in the past with reCAPTCHA v3 and I can’t say when the malfunction has begun.
As suggested by CF7 developer Mr.Takayuki Miyoshi, I also tried to lower the spam score to 0.3 using the following filter code, which doesn’t fix the problem:
add_filter( ‘wpcf7_recaptcha_threshold’,
function( $threshold ) {
$threshold = 0.3; // decrease threshold to 0.3return $threshold;
},10, 1
);`CF7 plugin is up to date – Version 5.4.1
I’d appreciate your advice.
Thanks a lot.
- The topic ‘reCAPTCHA v3 blocks CF7 form sending | Spam – orange rectangle | JS error’ is closed to new replies.