• Resolved CriterioNet

    (@criterionet)


    I was running tests, and if I want to buy a product and at the same time I log on page checkout, wanting to go to pay I get an error saying not complete the captcha, but captcha not see it anywhere.

    According to his note:

    Note: Multiple instance of reCAPTCHA can not appear in the same page i.e only a single reCAPTCHA can exist per web page. As a result, if you activate the CAPTCHA in both login and registration form, in WooCommerce checkout and My Account page, the CAPTCHA will appear only in the login form.

    In my setup the captcha is only activated in the registry and not in the login

    https://www.ads-software.com/plugins/no-captcha-recaptcha-for-woocommerce/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter CriterioNet

    (@criterionet)

    I’ve added this code to function.php file and now does not show me the error

    /* Corregir plugin captcha, evitar que pida captcha en el checkout */
    function my_woocommerce_before_checkout_process() {
    remove_filter( 'woocommerce_registration_errors', array('WC_Ncr_Registration_Captcha', 'validate_captcha_wc_registration'), 10 );
    }
    add_action('woocommerce_before_checkout_process', 'my_woocommerce_before_checkout_process');

    According to the note, I activated only on Registration. Your suggestion gets rid of the error, but it would be better to have a Captcha on Checkout if you are Registering in that page.

    Any suggestion on how to add reCaptcha to the “create-account” div of the checkout page.

    Forget it.
    Better install WordPress ReCaptcha Integration. In the settings you will find a dedicated function for checkout page.
    Ps. “in the SAME Page”, not in the same site ??

    Thank you very much!
    It worked like charm!
    5 stars!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Captcha no shows in checkout’ is closed to new replies.