Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 reCAPTCHA v3: Form Protection with Cookie Consent

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: GOOGLERECAPTCHA1

  • reCAPTCHA v3 for login, registration, password reset, contact and review
  • Loads only after consent through the CookieConsent hook
  • Score threshold per form with server-side verification
  • Log and test mode for clean fine-tuning
Auf Lager
€99.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 Features

Magento 2 reCAPTCHA v3: stop spam without annoying customers

The Magento 2 reCAPTCHA v3 module protects login, registration, password reset, contact form, review and newsletter against bots. Unlike visible image puzzles, v3 works in the background with a score. What matters for shops in Europe: the Google script only loads after consent through Mironsoft's CookieConsent. The extension is built for Hyvä and is set up personally in your shop by Mironsoft.

Score instead of puzzles

reCAPTCHA v3 rates visitors in the background, real customers see no image puzzles.

Loads after consent

The Google script starts only when consent exists in the CookieConsent.

Threshold per form

Login strict, newsletter looser: its own minimum score for every form.

Server-side verification

The token is verified on your server, not merely claimed in the browser.

Log and test mode

Scores are recorded; in test mode nothing is blocked and you tune in peace.

Failure cases handled

Timeouts, missing consent or low scores trigger defined reactions.

01Forms and score

Magento 2 reCAPTCHA for contact form, registration and reviews

In the admin you choose which forms are protected: customer login, registration, forgot password, contact form, product review and newsletter signup. For each form you set a score threshold. Google returns a value between 0 and 1; the lower it is, the more likely it is a bot. Login may use a higher threshold than the newsletter because more damage is at stake there.

In test mode the check runs along without blocking. The log shows which scores real customers reach. Only then do you switch live and avoid turning away paying customers by mistake.

  • Forms individually switchable
  • Threshold from 0 to 1 per form
  • Test mode with score log
Configuration · reCAPTCHA
LoginThreshold 0.7
RegistrationThreshold 0.6
Contact formThreshold 0.5
ReviewThreshold 0.5
Without consent
StatusScript not loaded
DisplayNotice + settings button
After consentScript loads, form active
02Consent

Magento 2 reCAPTCHA and cookie consent: load with data protection in mind

The Google script connects the browser to an external service. That is why the module loads it only after the visitor has agreed in Mironsoft's CookieConsent. Without consent the form shows a notice with a button to open the settings; alternatively a simple fallback check can be chosen, or the form stays locked until consent is given.

For the Hyvä CSP theme the module adds the required Google domains to the content security policy. Your privacy policy should name the service and the data transfer; the legal wording rests with your adviser.

  • Hook to Mironsoft CookieConsent
  • Behaviour without consent selectable
  • CSP whitelist for the Hyvä CSP theme
03Verification and failure

Magento 2 reCAPTCHA: server-side verification, timeouts and clear messages

The browser creates a token and the Magento server asks Google for the score. If the service is down or the request times out, you decide whether the form stays open (fail-open, lower security) or closes (fail-closed). For a low score your own message appears per store view.

The secret key is stored encrypted in the configuration. The storefront forms are protected; the backend admin login is not part of it.

  • Fail-open or fail-closed selectable
  • Message texts per store view
  • Secret key stored encrypted
Log
10:42Contact · score 0.9 · ok
10:43Registration · score 0.2 · blocked
10:51Login · timeout · fail-open
Use cases

Use cases for Magento 2 reCAPTCHA in your shop

Wherever visitors submit data, Magento 2 reCAPTCHA pays off as quiet protection.

Contact form spam

Bots send advertising and links. The score filters them before a mail reaches the inbox.

Fake registrations

Mass customer accounts distort statistics and newsletter lists and are turned away early.

Login attacks

Credential stuffing hits login and password reset; strict thresholds slow automated attempts.

Review spam

Product reviews with foreign links disappear while genuine reviews pass without friction.

Comparison

Magento 2 reCAPTCHA: without and with the module

With no protection, or a blanket standard solution, consent and fine-tuning fall by the wayside.

TopicWithout the moduleWith Google reCAPTCHA
Contact form spamSorted out by hand dailyBots rejected by score
ConsentScript loads immediatelyLoads only after consent
StrictnessOne setting for everythingThreshold per form
VerificationBrowser onlyVerified server-side
Fine-tuningGuessingTest mode and score log
Google outageForm blocked unclearlyFail-open or fail-closed by choice
Setup

How we set up Magento 2 reCAPTCHA in your shop

After the purchase, setup runs in five steps.

1

Create keys

We support you with site key and secret key in your Google account.

2

Install the module

Installation of the extension and a check of your Hyvä theme's CSP settings.

3

Connect CookieConsent

We link Magento 2 reCAPTCHA to consent and define behaviour without consent.

4

Forms and thresholds

We decide with you which forms Magento 2 reCAPTCHA protects, at first in test mode.

5

Review and go live

After a few days we examine the log and set the thresholds accordingly.

Scope and data protection for Magento 2 reCAPTCHA

The module stops spam at the moment of submission. Mironsoft's Stop Spam Mails module, by contrast, filters content that has already arrived and complements the protection. The two can be combined; if you prefer to work without an external service, use the filtering alone.

reCAPTCHA transfers data to Google. That is why the module loads the service only after consent and adds the required domains to the content security policy. Mention the service in your privacy policy and cookie overview. The legal assessment, including third-country transfer, rests with your legal adviser; the module provides the technical basis, consent before script start.

In daily use the combination of score and log pays off: instead of bothering visitors with puzzles you adjust strictness from real data. If the log shows legitimate customers repeatedly landing just below the threshold, lower it; if bots pile up, raise it. All settings apply per store view, so new markets can get their own behaviour.

04How the purchase works

No download — personal setup instead

Magento 2 reCAPTCHA is not listed here as a ready-made download for self-installation. The purchase is a service commission: we install the module in your shop and set up keys, consent connection and form thresholds with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything important about score, consent, outages, data protection and the purchase.

How can I use reCAPTCHA v3 for the contact form and registration in Magento 2?
With the Magento 2 reCAPTCHA module you activate the forms in the admin, enter your keys and set the threshold. Mironsoft sets the module up personally.
How can I use reCAPTCHA with data protection in mind?
The script loads only after consent in the CookieConsent. Without consent the form shows a notice or a fallback check. Privacy policy and legal assessment remain yours.
What does the score threshold mean in Magento 2 reCAPTCHA?
Google returns a value from 0 to 1. If it falls below your threshold the request counts as suspicious. You set the threshold per form.
Which forms can be protected?
Customer login, registration, forgot password, contact form, product review and newsletter signup.
What if the Google service is unreachable?
You choose between fail-open (the form stays usable) and fail-closed (the form is locked). The case is noted in the log.
Can I test first without blocking real customers?
Yes, in test mode scores are logged but no requests are rejected.
Is the backend admin login protected?
No, the module protects the storefront forms.
Does it work with Hyvä and the CSP theme?
Yes, the module works with Alpine.js and adds the required Google domains to the content security policy.
Does this replace the mail spam filter?
No. reCAPTCHA acts on submission, the Stop Spam Mails filter checks content that has arrived. They complement each other.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 reCAPTCHA – Mironsoft Google reCAPTCHA
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 reCAPTCHA – Mironsoft Google reCAPTCHA

Magento 2 reCAPTCHA – Mironsoft Google reCAPTCHA

€99.00