reCAPTCHA for WooCommerce

描述

Easily add Google reCAPTCHA to WooCommerce checkout and forms to help prevent spam.

Supported Forms

You can currently enable the reCAPTCHA on the following forms:

WooCommerce

  • Checkout
  • Login Form
  • Registration Form
  • Password Reset Form

WordPress

  • Login Form
  • Registration Form
  • Password Reset Form

Getting Started

Simply generate your Google reCAPTCHA v2 site “key” and “secret” and add these to the settings.

Choose which forms you want it to show on, and set the theme to either dark or light.

A new reCAPTCHA WooCommerce field will then be displayed on your checkout, and other selected forms to protect them from spam!

Localisation

The language for the WooCommerce reCAPTCHA will be automatically set based on your sites default language.

Is it free to use?

Yes, this plugin is completely free with no paid version, and it doesn’t track your data. Google reCAPTCHA is also a completely free service!

Alternative Plugin

Want a user-friendly, privacy-preserving reCAPTCHA alternative? Check out the Simple Cloudflare Turnstile plugin instead (100% free).

屏幕截图

  • Example reCAPTCHA on the My Account Page
  • Example reCAPTCHA on the Checkout Page

安装

  1. Upload ‘recaptcha-woo’ to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Customise plugin settings in WordPress admin at Settings > reCAPTCHA WooCommerce

评价

2023年1月7日
Great little plugin, does what it promises, 5 minutes in total to implement, even comes with a test for the credentials.
2022年12月13日 1 回复
Plugin Absolutely Not Working. I tested it for a few days after installation. and Wocomerce does not block bots (fake user registration) on the site and the problem still persists.
2022年11月23日 1 回复
Simple and solve my problem with registration form spam.
2022年10月27日 1 回复
Seemed to stop spam registrations for a few days then they started again. Clearly the bot can handle Google V2 recaptcha. Need something stronger.
阅读所有9条评价

贡献者及开发者

“reCAPTCHA for WooCommerce” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“reCAPTCHA for WooCommerce”插件已被翻译至1种本地话语言。 感谢所有译者为本插件所做的贡献。

将“reCAPTCHA for WooCommerce”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 1.2.9 – 12th January 2023

  • Tweak: reCAPTCHA on WordPress login will now work better with plugins that hide/change the admin login URL.
  • Tweak: WordPress Login and Register will skip Turnstile check for XMLRPC requests.
  • Tweak: reCAPTCHA will now re-render properly when there is an error on the checkout page.
  • Tweak: Edited the filter used for WordPress login authentication.
  • Other: Tested with WooCommerce 7.3.0

Version 1.2.8 – 8th December 2022

  • Tweak: Update to the code changes made in 1.2.7.

Version 1.2.7 – 8th December 2022

  • Fix: Fixed issue with some websites not being able to complete the “Test API Response” step in settings.
  • Other: Tested with WooCommerce 7.1.1

Version 1.2.6 – 7th December 2022

  • Fix: Fixed issue with reCAPTCHA still showing on checkout even if it was toggled off in settings.

Version 1.2.5 – 23rd November 2022

  • Tweak: A few small changes to the admin settings page.
  • Fix: Fix the “WooCommerce Checkout” checkbox in settings not showing as unchecked when disabled.

Version 1.2.4 – 16th November 2022

  • Fix: Fixed issue with reCAPTCHA sometimes no longer showing on checkout.
  • Fix: Fixed redirect to settings page on activate.
  • Other: Tested with WordPress 6.1.1
  • Other: Tested with WooCommerce 7.1.0

Version 1.2.3 – 12th November 2022

  • Fix: Added check to see if WooCommerce is activated and not display error if it is not.

Version 1.2.2 – 6th November 2022

  • Tweak: Upon submitting checkout form, if there is an error, it will now automatically reset the challenge.

Version 1.2.1 – 2nd November 2022

  • Fix: Fixed bug on admin settings page.
  • Other: Tested with WordPress 6.1.0

Version 1.2.0 – 27th October 2022

  • New: Added options to enable reCAPTCHA on the WP Login and WP Register page (wp-login.php).
  • New: Added a new “Test API Response” step to the settings page, whenever the API keys are updated to make sure it’s working. reCAPTCHA will not work on your WP login form until the test is successfully complete.
  • Tweak: A few small changes to the admin settings page.
  • Other: Tested with WooCommerce 7.0.0

Version 1.1.3 – 23rd October 2022

  • Fix: Fixed issue with Turnstile verification not working correctly on checkout if “Create an account?” was selected.

Version 1.1.2 – 11th October 2022

  • New: Added language detection for the captcha, so it will now show in the “Site Language” instead of just English.

Version 1.1.1 – 10th October 2022

  • Fix: Fixed issue with reCAPTCHA not loading on checkout in some cases since last update.

Version 1.1.0 – 10th October 2022

  • New: Enable reCAPTCHA on WooCommerce Login, Register and Password Reset forms.
  • Other: Tested with WooCommerce 6.9.4