Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

amandarail
Starting Member

United Kingdom
9 Posts

Pre-sales questions only
(More Details...)

Posted - 12/31/2018 :  06:04:34  
I have a contact page and want to put a capcha on it. I cannot work out how to do it from the instruction manual. I registered with google, gone to control panel, put in the site key and secret key. I have ticked 'ask a question' in case this is the same as contact, but nothing happens when I fill out the contact form.

I have secondly, pasted googles code in the head section (client side intergration) -
<script src='https://www.google.com/recaptcha/api.js'></script> and pasted the following in the contact form - <div class="g-recaptcha" data-sitekey="6Ldn24UUAAAAAK7yXjIFX-nhMBvFfxlmhce-7MWs"></div>. But nothing appears in the form when I upload (I expected a 'captcha box' to appear).

There is a server side intergration step which I don't understand and is as follows -

When your users submit the form where you integrated reCAPTCHA, you'll get as part of the payload a string with the name "g-recaptcha-response". In order to check whether Google has verified that user, send a POST request with these parameters:
URL: https://www.google.com/recaptcha/api/siteverify
secret (required) 6Ldn24UUAAAAAN9PYY-vsqjdpgNcRsYPX47P7yEj
response (required) The value of 'g-recaptcha-response'.
remoteip The end user's ip address.
The reCAPTCHA documentation site describes more details and advanced configurations.


Can someone advise? I assume everything is automated on the control panel, i.e. you enter the information and tick the boxes and that is all you do. Maybe my control panel falls outside this?

Thanks

Mandy

Amanda Burke

Andy
ECT Moderator

95440 Posts

Posted - 12/31/2018 :  07:13:00  
Hi Amanda

The Recaptcha feature is just for specific store functions, it's not available for contact forms or things like that I'm afraid.

Andy



Please feel free to review / rate our software

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 12/31/2018 :  08:50:12  
Hi Amanda

I've used a responsive contact form package from CodeCanyon which has the Google reCaptcha built in - https://codecanyon.net/item/quform-responsive-ajax-contact-form/148273?s_rank=3 on many sites.

Dead easy to setup!! You add your Google reCaptcha keys into the form HTML & it works a treat

Will - Bolton, Manchester, UK

Edited by - V45 on 12/31/2018 13:25:33

dbdave
ECT Moderator

USA
10507 Posts

Posted - 12/31/2018 :  09:40:29  
It is possible to use your google site key on your own forms, but you will need some javascript for that. Google does have plenty of code examples they share for that.
Although if you have problem with setting that up, it's probably best to use a third party form as V45 suggests.

Check this thread to - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=78268

David

amandarail
Starting Member

United Kingdom
9 Posts

Pre-sales questions only
(More Details...)

Posted - 12/31/2018 :  10:50:56  
Thank you for your responses. Much appreciated.

Amanda Burke
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000