Log in
Platform
Solutions
Use cases
Log in

Adding Recaptcha to Magento 2

ReCaptcha is an important technology to stop hackers from attacking a website. By making the users go through a simple test, it can be determined if it’s really a human or an automatic robot looking to harm your website. To keep your websites and stores safe, it is advised to make use of this feature to the fullest. So in this article, we would give you a step-by-step tutorial on how to add ReCaptcha to Magento 2 

CAPTCHA is an abbreviated term that stands for “Completely Automated Public Turing test to tell Computers and Humans Apart”. This tool by Google is an attempt to keep websites safe from hackers. It uses adaptive CAPTCHAs with an intermediate risk analysis engine to prevent automated malware from exploiting and manipulating your website.

Follow these steps to easily add ReCaptcha to Magento 2:

SIGN UP FOR A NEW GOOGLE RECAPTCHA ACCOUNT

STEP 1: 

To add reCaptcha to magento 2, you need to first sign in to your Google account. Once signed in, please head on over to the ReCaptcha page. Then, click on the SIGN UP button.

770b9428 fb54 46fd 9214 dc8d3ae37e35

STEP 2: 

A new page should be open now. Enter the domain of your store along with the name of your website. Next, click on REGISTER in the bottom right corner.

840d5733 820b 4316 895b 188ab8df9a14

STEP 3:

Now, you will be able to see the SITE KEY and SECRET KEY on display. These will be needed later to configure the extension in your Magento 2 store. 

11113a2f 9c2c 4f84 a0bc a60bdb0a100f

DOWNLOAD AND INSTALL THE RECAPTCHA PLUGIN

To add recaptcha to Magento 2, first, download the extension. Then unzip the installation directory and place it in your Magento 2 store’s root directory. You can install the required plugin in this manner. Next, clear the cache. If not, your website could not function properly.

CONFIGURING RECAPTCHA PLUGIN IN YOUR MAGENTO 2 STORE

STEP 1: 

You can start your process to Add Recaptcha to Magento 2 by starting from the Admin Panel. Then go to SYSTEM > CONFIGURATION. 

9d63ddb6 674d 4d76 b2c4 760e42afaa93

STEP 2:

On the GENERAL tab, click on CONTACTS

image 15

STEP 3: 

Select YES in ENABLE CAPTCHA. Here, copy and paste the SITE KEY and SECRET KEY that you had gotten while you registered for a new Google ReCaptcha account. Click on the SAVE CONFIGURATION button in the top right.

28c97f31 6059 493f 903f d71f4d6d2b60

So when you go to the CONTACTS page of your Magento 2 website, you would find ReCaptcha having been added there successfully. So by successfully following these steps, you can successfully add ReCaptcha to Magento 2. 

3574d353 b9c9 4056 aec4 b3e154cdbacc

The aim of this article was to provide an easy guide on how to add Recaptcha to Magento 2. 

In this article, you have learned the process to add reCAPTCHA to Magento 2. The extension can be used on various pages of your website, including the registration page for new users. Your website will be free of all spam and hacking attempts. Therefore, if security is your first priority, your store must implement reCAPTCHA.

It is important to note a few points, however, before implementing the steps to add ReCaptcha to Magento 2. You should first register for the Public and Secret Key Pair specifically for your store’s domain. You need to also make sure the subdomains may also use the reCAPTCHA authentication. If not, an error will appear in the reCAPTCHA “I’m not a robot” box.

To learn more tips and tricks to get the most out of your Magento 2 store, click here!

Get help from a human
Submit a request for help with your Braintree sandbox or production account.
Get Help
Select location and language

Contact Our Sales Team

Learn more about our products, features, and pricing options.
By submitting this form, you agree to receive promotional messages from Shopify about its products and services. You can unsubscribe at any time by clicking on the link at the bottom of our emails.
Product
Pricing
Use cases
Recourses
Documentation
Log in
Start a free trial