Disable Recaptcha Component

Disable Recaptcha Component

October 16, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Disable Recaptcha Component

Disabling Google Recaptcha for Magento Contact Forms: A Comprehensive Guide

Dear developer,

I understand your frustration with the dual captcha system on your Magento contact page. The presence of both the “I’m not a robot” checkbox and the old-school captcha is indeed confusing for users and may lead to form submission failures. In this guide, I will walk you through the process of disabling the Google Recaptcha extension while ensuring that the security benefits are retained.

Understanding the Current Setup

The extension you installed, “Contacts Form Captcha,” likely integrates both Google’s reCAPTCHA v2 and a traditional image-based captcha as a fallback. The issue arises when the reCAPTCHA validation fails, causing the secondary captcha to appear unnecessarily.

To resolve this, we need to configure the extension to always use the old-school captcha while removing the Google Recaptcha integration.

Step-by-Step: Removing Google Recaptcha

  1. Disable the Extension

    • Log in to your Magento admin panel.
    • Navigate to System > Configuration > Advanced > Extensions.
    • Find “Contacts Form Captcha” in the list, and click on it.
    • Change the status to “Disabled.”
    • Click Save Config.
  2. Remove Google Recaptcha Integration

    • Open the extension’s configuration file located at app/code/local/Company/ContactFormCaptcha/etc/config.xml.

    • Look for the following lines within the <config> tag:

      <contacts_form_captcha>
        <google_recaptcha>
          ...
        </google_recaptcha>
      </contacts_form_captcha>
      
    • Delete these lines from the file.

  3. Enable Traditional Captcha

    • Open app/code/local/Company/ContactFormCaptcha/etc/config.xml again.

    • Find the following lines:

      <contacts_form_captcha>
        <captcha>
          ...
        </captcha>
      </contacts_form_captcha>
      
    • Make sure these lines are present and not commented out.

  4. Clear Cache

    • In your Magento admin panel, go to System > Tools > Cache Management.
    • Select all cache types and click Flush Cache Stores.

Best Practices for Captcha Implementation

While disabling the Google Recaptcha extension resolves your immediate issue, it’s essential to maintain robust security measures on your contact forms.

  • Consider using Magento’s built-in captcha module (Mage_Captcha) which provides a simple yet effective solution.
  • Ensure that all user input is properly sanitized and validated before processing.
  • Implement server-side validation alongside client-side checks for added security.

If you’re looking to enhance your e-commerce platform with more advanced features, I highly recommend exploring the services offered by Laravel Company. Our expert team specializes in Magento development, customization, and security solutions tailored to meet your business needs.

Conclusion

By following this guide, you should now have successfully removed the Google Recaptcha from your Magento contact form while preserving the old-school captcha functionality. Remember that the key lies in correctly configuring the extension and ensuring proper maintenance of your site’s security measures.

Don’t hesitate to reach out if you face any challenges or need further assistance with your Magento development projects. Happy coding!

Best, [Your Name] Senior Developer, Laravel Company

Security Extensions Admin Configuration

Our network