Magento 2 CAPTCHA Extension
Protect your Magento 2 storefront forms from automated abuse with our Magento 2 CAPTCHA extension, a native replacement for the built-in CAPTCHA. It covers customer sign-in, account creation, forgot password, contact, product reviews and more. Privacy-first: EU hosting, no cookies, no puzzles.
Quickstart
How the integration works
1. Create a CAPTCHA
Create a user account or log in with an existing one. Then create a new CAPTCHA or pick an existing one. If you want to try TrustCaptcha first, every plan comes with a 14-day free trial.
The CAPTCHA overview page shows your site key and license key, and you create your API key there. Add your website’s domains to the authorized domains in the CAPTCHA security rules so they can use your CAPTCHA.


2. Integrate the CAPTCHA Plugin
Install the Magento CAPTCHA extension via Composer and Packagist. For step-by-step instructions, read the CAPTCHA integration guide for Magento 2 in our documentation.
Read the documentation
TrustCaptcha functions as a native Magento CAPTCHA replacement. Magento can decide whether a CAPTCHA is required and request it if necessary. Alternatively, the CAPTCHA can always be displayed. Currently, the following actions and forms are supported, among others:
- Customer Login
- Create Account / Registration
- Forgot Password
- Contact Form
- Product Review Submission
- Email to a Friend
- Share Wishlist
- Orders & Returns
Other frontend technology instead of Magento 2?
If you build with something other than Magento 2, or run several websites and apps, pick a different framework or platform here. If we have no pre-built integration for your frontend technology yet, your developers can integrate the CAPTCHA themselves using our documentation or ask our support team for a pre-built integration.
3. Configure the TrustCaptcha Plugin
Log in as an admin and go to Stores → Configuration → TrustComponent → TrustCaptcha. Set your site key, API key (formerly secret key) and, if needed, the license key. Finally, customize TrustCaptcha to suit your needs. You can find more information about the installation in our Magento 2 documentation.

4. Test your integration
TrustCaptcha is now active. Send a test request and check that it goes through.

FAQs
Which Magento 2 versions are supported?
What does the Magento 2 CAPTCHA extension do?
Which forms are protected out of the box?
Does it replace Magento’s built-in CAPTCHA or add a separate widget?
What is the bot score and what threshold should I use?
What happens when TrustCaptcha blocks a request?
Do you support Checkout protection?
TrustCaptcha blocks spam and bots, not customers. No puzzles, GDPR-compliant, EU-hosted.


Protect your Magento 2 application with TrustCaptcha in just a few steps!
- EU-hosted & GDPR-compliant
- No puzzles
- Try free for 14 days