Project Home
Manuals
Contact Us
Download
Demo
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
AbanteCart v
1.3.4
is released.
Home
Help
Search
Calendar
Login
Register
AbanteCart Community
»
Shopping Cart Operations
»
Support
»
Template Support
»
reCAPTCHA V2 & reCAPTCHA V3
« previous
next »
Print
Pages: [
1
]
Author
Topic: reCAPTCHA V2 & reCAPTCHA V3 (Read 3936 times)
HADY
Sr. Member
Posts: 328
Karma: +27/-5
reCAPTCHA V2 & reCAPTCHA V3
«
on:
August 03, 2019, 06:01:19 AM »
Hello Community!
I am Wondering if we can use both V2 and V3 on website. If yes, let me know how to proceed please.
Thanks Alot
Regards
HADY
Logged
Thank you In Advanced
Regards
HADY
Basara
Administrator
Hero Member
Posts: 5838
Karma: +275/-2
Re: reCAPTCHA V2 & reCAPTCHA V3
«
Reply #1 on:
August 05, 2019, 02:29:05 AM »
I think you can not use both. This may cause conflict
Logged
Please
rate your AbanteCart experience
or
leave your review
HADY
Sr. Member
Posts: 328
Karma: +27/-5
Re: reCAPTCHA V2 & reCAPTCHA V3
«
Reply #2 on:
August 05, 2019, 04:38:41 AM »
Quote from: Basara on August 05, 2019, 02:29:05 AM
I think you can not use both. This may cause conflict
Thank you Sir!
Actually I added next code to each layout on website:
<!DOCTYPE html>
<html>
<body>
<script src="
https://www.google.com/recaptcha/api.js?render=website-key
"></script>
<script>
grecaptcha.ready(function() {
grecaptcha.execute('website-key', {action: 'homepage'}).then(function(token) {
...
});
});
</script>
</body>
</html>
my website including now v2 & v3 but i don't know if they are working together yet. I still have a question about
secret key
where should be added ?
maybe you have an answer for that ??
Regards
Logged
Thank you In Advanced
Regards
HADY
HADY
Sr. Member
Posts: 328
Karma: +27/-5
Re: reCAPTCHA V2 & reCAPTCHA V3
«
Reply #3 on:
August 16, 2019, 08:18:27 AM »
Hi Community!
To activate v2 & v3 on website, follow the steps on activating v2 as usually on Abantecart Admin dashboard, create a new html block give it any name and add the reCAPTCHA code. Don't forget to add the website key which given to you on reCAPTCHA website in the required places in the code and then go your website layouts and add the block where ever you want.
<!DOCTYPE html>
<html>
<body>
<script src="
https://www.google.com/recaptcha/api.js?render=insert-website-key-here
"></script>
<script>
grecaptcha.ready(function() {
grecaptcha.execute('insert website key here', {action: 'homepage'}).then(function(token) {
...
});
});
</script>
</body>
</html>
This topic will be closed for your attention.
Regards
«
Last Edit: August 16, 2019, 08:22:13 AM by HADY
»
Logged
Thank you In Advanced
Regards
HADY
Print
Pages: [
1
]
« previous
next »
AbanteCart Community
»
Shopping Cart Operations
»
Support
»
Template Support
»
reCAPTCHA V2 & reCAPTCHA V3
Powered by SMFPacks Social Login Mod