-
AuthorPosts
-
September 4, 2020 at 12:39 am #1243177
v3 keys are installed and working “Last time we checked we were able to connected to Google reCAPTCHA with your API keys”
In Contact Form / Security / …will “Don’t Display Captcha” still execute reCAPTCHA v3 if it is selected in Theme Options / Google ReCAPTCHA ?
- This topic was modified 4 years, 2 months ago by aribann.
September 8, 2020 at 5:49 am #1244158Hi aribann!
Thank you for the inquiry.
The v3 script should not work if it’s not enabled in the contact form’s security settings. In the enfold\config-templatebuilder\avia-shortcodes\contact\contact.php file, you should see the following condition which checks if only the default captcha is activated or the other, and if it is set to not display any spam protection, it will not create the spam protection element or field.
$google = in_array( $captcha, array( 'recaptcha_v2', 'recaptcha_v3' ) ); if( 'active' == $captcha || ( $google && Avia_Google_reCAPTCHA()->is_loading_prohibited() ) ) { // show default captcha } else if( $google ) { // enable recaptcha }
Please make sure that the site contains the latest version of the theme, v4.7.6.3.
Regards,
IsmaelSeptember 8, 2020 at 7:28 pm #1244411It does not seem to function as designed
API keys are correct and working
Theme is current
Selecting
Use Google reCAPTCHA V3 if activated (fallback is V2)
Yields the attached image:
forced challenge question
Which forces human interaction
And there is no ‘protected by recaptcha’ icon on the lower right hand portion of the screen- This reply was modified 4 years, 2 months ago by aribann.
September 8, 2020 at 8:20 pm #1244457Also installed on a test domain with same results (no plugins at all)
In theme options when testing keys ‘protected by recaptcha’ icon does appear on the lower right hand portion of the screen (live site or test)September 8, 2020 at 8:25 pm #1244461Lastly a contact form plugin like WPforms will work fine set to use recaptcha v3
September 9, 2020 at 4:34 am #1244532Hi!
Thank you for the update.
The screenshot shows the default security question, not the recaptcha. Did you set the contact form’s security settings to display the security questions? How do you check if v3 is working or executes in the background? Your second post seems to contradict your original inquiry.
The badge doesn’t display when v3 is activated because it is hidden with css. And please note that the theme’s recaptcha option will only work in the default contact form, not in any form from external plugins. So in order to test it properly, you have disable recaptcha scripts or options from third party plugins.
Where did you add the contact form? Please provide a link so that we can check it. If possible, please disable the recaptcha option from third party plugins temporarily.
Best regards,
IsmaelSeptember 9, 2020 at 9:02 am #1244573Okay getting somewhere
Adding V2 keys purges Enfold challenge prompt when selecting
Use Google reCAPTCHA V3 if activated (fallback is V2)Is there a way to remove (I am aware that I can use visibility: hidden and purge just the message)
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. from below the submit/send button and have the standard V3 badge display in the lower right hand corner as it does when tested in Theme Options?Thanks thus far
September 11, 2020 at 1:55 pm #1245145 -
AuthorPosts
- You must be logged in to reply to this topic.