Page 1 of 1

[SOLVED] Help settimg up Google Recapcha

Posted: Sun Nov 18, 2018 11:09 am
by ozstar
Hi,

Have the site and Secret Key in admin okay but not sure where to add the code below Google wants in HTML template and end of 'form'.

I want this on the Journal2 Contact Us form

Paste this snippet before the closing </head> tag on your HTML template:
<script src='https://www.google.com/recaptcha/api.js'></script>

Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:
<div class="g-recaptcha" data-sitekey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"></div>

Any directions please?

Thanks
oz

Re: Help settimg up Google Recapcha

Posted: Sun Nov 18, 2018 5:32 pm
by OSWorX
If you are using the standard module of OpenCart, simply paste the keys in the form and enable the module.
Nothing else to to, the system adds the correct code automatically.

Re: Help settimg up Google Recapcha

Posted: Sun Nov 18, 2018 7:02 pm
by ozstar
Thank you for the help.

I did that however no Google Captcha shows on the Contact Page.

Maybe I need to tell it somewhere in admin to place it there?

oz

Re: Help settimg up Google Recapcha

Posted: Sun Nov 18, 2018 9:08 pm
by OSWorX
ozstar wrote:
Sun Nov 18, 2018 7:02 pm
Thank you for the help.

I did that however no Google Captcha shows on the Contact Page.

Maybe I need to tell it somewhere in admin to place it there?

oz

Code: Select all

Admin > System > Settings >> Options >>> Captcha
And check there Contact

Re: Help settimg up Google Recapcha

Posted: Mon Nov 19, 2018 4:18 am
by ozstar
Many thanks.. Excellent !

Re: [SOLVED] Help settimg up Google Recapcha

Posted: Tue May 21, 2019 7:28 pm
by rale
On my 3020 work fine only on register page, else just show box without required option, you can add reviews, send mail from contact without check Recapcha.
Why that? i search forum and find some solution, but not help.