Google reCaptcha Security

Modified on Tue, 09 Jan 2024 at 10:25 AM

CAPTCHA stands for "Completely Automated Public Turing test to tell Computers and Humans Apart". These tests are used to ensure that your site is not subjected to automated attacks/spam from bots attempting to register or log in to your site. Customers must enter the text seen in the CAPTCHA image (which computers cannot read) before they can log in:


Setup


To set up Google reCaptcha on your website, you first need to get a free account with Google. 
  1. Head here: https://www.google.com/recaptcha/admin/create and select the reCaptcha type of reCaptcha v2. Note: do not use "Get Started with Enterprise" . 
  2.  Select "I am not a robot" checkbox, input your live site url and then choose "Submit". 

Your initial setup in reCAPTCHA management will look something like this:



The next screen will provide both the site key and secret key. These values will need to added into your store settings under Configuration > Settings


Setting NameDescription
reCAPTCHA.SiteKey 
The 'Site Key' value from your Google reCAPTCHA account.
reCAPTCHA.SecretKey
The 'Secret Key' value from your Google reCAPTCHA account.



Google reCaptcha can be enabled on the following pages:


Setting NamePage URL/Location
reCAPTCHA.RequiredOnAeSerivceTicket
AeServiceTicket.aspx
reCAPTCHA.RequiredOnCheckout
ShoppingCart.aspx
reCAPTCHA.RequiredOnContactForm
Contact.aspx
reCAPTCHA.RequiredOnCreateAccount
CreateAccount.aspx
reCAPTCHA.RequiredOnEmailMe
"Email me when back in stock" link from product pages
reCAPTCHA.RequiredOnEmailProduct
EmailProduct.aspx
reCAPTCHA.RequiredOnPasswordReset
Account/RequestPasswordReset.aspx
reCAPTCHA.RequiredOnStoreLogin
SignIn.aspx


Once the setting values are updated make sure to Refresh Store.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article