Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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 ago by aribann.
    #1244158

    Hi 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,
    Ismael

    #1244411

    It 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 ago by aribann.
    #1244457

    Also 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)

    #1244461

    Lastly a contact form plugin like WPforms will work fine set to use recaptcha v3

    #1244532

    Hi!

    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,
    Ismael

    #1244573

    Okay 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

    #1245145

    Hi,

    We can use this css code to display the recaptcha badge back in the front end.

    body.av-google-badge-hide .grecaptcha-badge{ 
    	visibility: visible !important; 
    }
    

    Default visibility value is set to hidden.

    Thank you for your patience.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.