Skip to main content

Settings: reCAPTCHA for the lookup form

Overview​

EU Withdrawal adds one field to Magento's own reCAPTCHA settings: Enable for EU Withdrawal Lookup Form. It puts a reCAPTCHA check on the order lookup form, where a customer without an account enters the order number and email address to find the order. You find it in Stores → Configuration → Security → Google reCAPTCHA Storefront, group Storefront. The field is not in the EU Withdrawal configuration page.

Setting​

Google reCAPTCHA Storefront​

Setting Scope Default Description
Enable for EU Withdrawal Lookup Form No Options: No, reCAPTCHA v2 ("I am not a robot"), reCAPTCHA v2 Invisible, reCAPTCHA v3 Invisible.

Notes​

Item Value
Options No, reCAPTCHA v2 ("I am not a robot"), reCAPTCHA v2 Invisible, reCAPTCHA v3 Invisible
Default No: the lookup form has no reCAPTCHA check
Scope Default Config and website. You can't set it per store view
  • The type you pick needs its Google keys. Enter them in the group of that type in the same section, for example reCAPTCHA v2 ("I am not a robot"), fields Google API Website Key and Google API Secret Key.
  • The check runs only when the lookup form is sent. The other withdrawal steps have no reCAPTCHA.
  • If the check fails, the customer is sent back to the start of the withdrawal pages and sees Magento's failure message. You edit that text in the same section, group reCAPTCHA Failure Messages.
  • The check works on Luma and on Hyvä themes with the EU Withdrawal Hyvä package.
  • The lookup form also limits how many attempts one IP address can make, with or without reCAPTCHA. See Security of lookups, links and receipts.

What's next​

Last reviewed November 4, 2026