Skip to Content
Modern office building
Functional

How to Enable Google reCAPTCHA in Odoo 18

2 min read 72 views
Share:

How to Enable Google reCAPTCHA in Odoo 18

Secure your Odoo website and protect online forms from spam and automated bot submissions.

Google reCAPTCHA is a security service that helps protect websites from spam, bots, and automated submissions.

Odoo 18 supports Google reCAPTCHA v3, which verifies user interactions without requiring users to click an "I'm not a robot" checkbox.

Follow these simple steps to activate Google reCAPTCHA on your Odoo website.

Step 1 — Generate Google reCAPTCHA Keys

  1. Visit Google reCAPTCHA Admin Console.
  2. Sign in with your Google account.
  3. Enter a website label.
  4. Select reCAPTCHA v3.
  5. Register your website domain or subdomain.
  6. Submit the registration and copy the Site Key and Secret Key.

Example: For https://erp.example.com, register erp.example.com without https://.

Step 2 — Configure reCAPTCHA in Odoo

  1. Log in to Odoo as an Administrator.
  2. Navigate to Website → Configuration → Settings.
  3. Find the Google reCAPTCHA settings.
  4. Enable the available reCAPTCHA integration.
  5. Enter your Site Key and Secret Key.
  6. Save the configuration.

Note: Menu locations may vary depending on installed modules and customizations.

Step 3 — Test the Integration

  1. Open your Odoo website.
  2. Navigate to a supported form, such as Contact Us.
  3. Complete and submit the form.
  4. Verify that the submission works correctly.
  5. Check the browser console and Odoo logs for verification errors.

Important: reCAPTCHA v3 operates in the background, so a visible checkbox is not required.

Common Issues and Solutions

IssueSolution
Invalid Site KeyVerify the key and reCAPTCHA version
Domain MismatchCheck the registered website hostname
Verification FailedVerify the Secret Key and server logs
CAPTCHA Not WorkingCheck installed modules and Odoo configuration
Form Submission BlockedReview the reCAPTCHA score threshold

Conclusion

Google reCAPTCHA helps improve Odoo website security by reducing spam and automated form submissions.

With the correct domain registration, API keys, and Odoo configuration, businesses can provide a more secure online experience.

Need help configuring Odoo?

DUO Digital Solusindo provides Odoo implementation, customization, integration, and technical support services.

Expert People. Smart Solutions. Trusted Partnership.