Protect your WordPress and WooCommerce site from bots, spam, and malicious attacks using Google reCAPTCHA integration. This feature adds an extra layer of security to your forms by verifying that submissions come from real humans, not automated bots.
reCAPTCHA is a free service from Google that protects your website from spam and abuse. Swift Commerce integrates seamlessly with both reCAPTCHA v2 and v3, allowing you to choose the best option for your site.
Key Benefits
Block spam registrations – Prevent fake accounts from being created
Protect login forms – Stop brute force attacks on admin and customer accounts
Secure checkout – Reduce fraudulent orders and payment fraud
Filter comment spam – Keep your blog comments clean and legitimate
No impact on real users – Modern reCAPTCHA works invisibly in most cases
The General tab contains the core configuration options for your reCAPTCHA setup.
Select reCAPTCHA Version
Version
Type
User Experience
Best For
v2
Challenge-based
Users may see a checkbox or image challenge
Sites wanting visible verification
v3
Score-based
Completely invisible to users
Sites prioritizing user experience
reCAPTCHA v2 Configuration
API Keys
Field
Description
Site Key
The public key displayed on your website. Used to render the reCAPTCHA widget.
Secret Key
The private key for server-side verification. Never expose this publicly.
Challenge Type
Mode
Description
When to Use
“I’m not a robot” Checkbox
Displays a checkbox users must click. May present an image challenge if suspicious.
When you want users to actively confirm they’re human
Invisible
Runs in the background. Only shows a challenge if suspicious activity is detected.
When you want protection without interrupting user flow
reCAPTCHA v3 Configuration
API Keys
Field
Description
Site Key
The public key used to load the reCAPTCHA script on your site.
Secret Key
The private key for verifying scores server-side.
Score Threshold
reCAPTCHA v3 returns a score between 0.0 and 1.0:
0.0 = Very likely a bot
1.0 = Very likely a human
Threshold
Protection Level
False Positive Risk
0.3
Low
Very Low
0.5
Medium (Recommended)
Low
0.7
High
Medium
0.9
Very High
High
💡 Tip: Start with 0.5 and adjust based on your needs. Lower if legitimate users are blocked; raise if spam gets through.
Badge Display
Option
Description
Badge
Shows the reCAPTCHA badge in the bottom-right corner of protected pages
Hidden
Hides the badge completely
⚠️ Legal Requirement: If you hide the badge, you must add this to your privacy policy: “This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.”