SpamOff – Spam & Bot Protection

Àpèjúwe

SpamOff protects your WooCommerce store and WordPress site from bots, fake registrations, and spam by adding Google reCAPTCHA to the forms you choose.

Features:

  • reCAPTCHA v3 (invisible, score-based) and v2 (checkbox) support
  • WooCommerce Classic Checkout protection
  • WooCommerce Block Checkout protection (Store API, v3 only) with token auto-refresh so slow customers arenÌtumọ̀ Yorùbá: ’t rejected for expired tokens
  • Customer Login, Registration, Lost Password
  • WordPress comments
  • Per-form on/off toggles
  • Customizable failure message and v2 widget theme/size
  • [spamoff_bot_protection] shortcode for manual placement
  • WooCommerce HPOS (Custom Order Tables) compatible

Àwọn àwòrán ìbòjú

Ìgbéwọlẹ̀

  1. Upload the plugin folder to wp-content/plugins/ or install via the Plugins screen.
  2. Activate the plugin.
  3. Get a Site Key and Secret Key from https://www.google.com/recaptcha/admin
  4. Go to WooCommerce Settings SpamOff.
  5. On the General Settings tab, paste your Site Key and Secret Key, choose v2 or v3, and (for v3) set a minimum score.
  6. On the Advanced Settings tab, check the forms you want to protect.

FAQ

Does this work with the WooCommerce Block Checkout?

Yes. The Block Checkout uses the Store API, and SpamOff injects a v3 token into the checkout requestÌtumọ̀ Yorùbá: ’s extension data, then verifies it server-side before the order is built. The token refreshes automatically every 80 seconds (and immediately when the customer returns to the tab) so it never goes stale during a long checkout. Block Checkout always uses v3 — even if v2 is selected in the settings, v2 only applies to Classic Checkout and other forms.

Does this work with WooCommerce HPOS (Custom Order Tables)?

Yes. The plugin declares compatibility on before_woocommerce_init.

How do I add the captcha to a form that isnÌtumọ̀ Yorùbá: ’t in the built-in list?

Use the [spamoff_bot_protection] shortcode inside the form. You can pass an action attribute to label the reCAPTCHA action: [spamoff_bot_protection action="my_form"].

Why is verification failing for legitimate users on v3?

The minimum score may be too strict. Lower Minimum Score in General Settings (try 0.3) and test again. Google adjusts scores based on reputation, so brand-new sites tend to score lower until they accumulate traffic.

Why doesnÌtumọ̀ Yorùbá: ’t the v2 checkbox show up on the checkout page?

Make sure the Site Key in your settings is a v2 key (not a v3 key — they are not interchangeable in GoogleÌtumọ̀ Yorùbá: ’s admin console), the Checkout Page form is enabled in Advanced Settings, and that you are using the Classic Checkout (the Block Checkout does not support v2).

Does the plugin send any data to third parties?

This plugin relies on Google reCAPTCHA, a third-party service, to function. By using this plugin you agree to GoogleÌtumọ̀ Yorùbá: ’s terms and acknowledge their privacy policy:

  • Terms of Service: https://policies.google.com/terms
  • Privacy Policy: https://policies.google.com/privacy

What is loaded and when:

  • On every frontend page where the plugin is active and a Site Key is configured, the plugin enqueues GoogleÌtumọ̀ Yorùbá: ’s reCAPTCHA JavaScript from https://www.google.com/recaptcha/api.js. Loading this script allows Google to set cookies and collect information about the visitor as described in GoogleÌtumọ̀ Yorùbá: ’s privacy policy. This page-wide load is a requirement of how reCAPTCHA v3 generates score-based tokens.
  • When a visitor submits one of the protected forms (or, for the Block Checkout, when the v3 token is generated), the plugin sends the reCAPTCHA token and the visitorÌtumọ̀ Yorùbá: ’s IP address to GoogleÌtumọ̀ Yorùbá: ’s siteverify endpoint (https://www.google.com/recaptcha/api/siteverify) for validation.

No other third-party calls are made by the plugin.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“SpamOff – Spam & Bot Protection” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “SpamOff – Spam & Bot Protection” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.0.0

  • Initial release.