Go to the link below to see how to setup in OpenCart version 2.3.0.1
https://webocreation.com/blog/set-google-recaptcha-basic-captcha-opencart-2-3-0-1

With advancement of versions OpenCart is using best opensource like bootstrap, flexslider, Magnific Popup: Responsive jQuery Lightbox Plugin, OWL Carousel, fontawesome and for captcha now it is using Google reCAPTCHA, in this blog post I will show you how to set it up in contact us page so captcha is easy for human and tough for the bots and in part 2 i will show how to make it work in registration page.

What do you mean by Google reCAPTCHA?
reCAPTCHA is a free service to protect your website from spam and abuse. reCAPTCHA uses an advanced risk analysis engine and adaptive CAPTCHAs to keep automated software from engaging in abusive activities on your site. It does this while letting your valid users pass through with ease. Get more details from https://www.google.com/recaptcha/intro/index.html

How it works?
It is demonstrated by the following videos.

Now let’s move with OpenCart.

How to set it up in OpenCart?

  1. Go to https://www.google.com/recaptcha/admin (login with gmail account if not) and enter your Label(Any name) and domain name(website url).

    google recaptcha for opencart
    google recaptcha for opencart


  2. When you click register button, you will get site key and secret key.

    OpenCart site key and secret key of google reCaptcha
    OpenCart site key and secret key of google reCaptcha
  3. Now go to admin section of OpenCart site and go to System >> Setting and edit the your store and go to Google tab.
    opencart-google-recaptcha
  4. Go to contact us page and you will see that Google reCaptcha is activated.

    Activate google reCaptcha at OpenCart Contact us page
    Activate google reCaptcha at OpenCart Contact us page
  5. Now in Part 2 we will discuss about how to show google reCAPTCHA at other pages like at registration page.
    Part II: OpenCart is using Google reCAPTCHA, let set it up in registration page Part 2

 

Thanks

Rupak Nepali

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here