Manual for setup reCaptcha in Phoca Cart

Phoca Cart - complex e-commerce extension
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Manual for setup reCaptcha in Phoca Cart

Post by ehndrju »

hi.
please help me.
on website, recaptcha working is normally.
i enable recaptcha in cart component.
entered the site key and private key.
i marking checkbox "i not robot" but a system alert message appears that the check failed.
Is there an instruction on how to set up the recaptcha correctly in the shopping cart component?
https://sib-sb.ru/images/screen3.jpg
Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Manual for setup reCaptcha in Phoca Cart

Post by Jan »

Hi, can you paste a screenshot of the frontend error message or a link to live site to test it?

Important part of the settings i to set Site Key and Private key, all other parameters don't need to be set.

Jan
If you find Phoca extensions useful, please support the project
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Re: Manual for setup reCaptcha in Phoca Cart

Post by ehndrju »

Sorry. On website only cyrillic text.
https://sib-sb.ru/katalog/videokamery
screenshots:
option 1 (without security keys in cart component)
if security options fields clear
http://sib-sb.ru/1.jpg
http://sib-sb.ru/2.jpg
http://sib-sb.ru/3.jpg
(only 4 link in 1 post)
sib-sb.ru/4.jpg
screenshots:
option 2 (with security keys in cart component)
if security options fields clear
sib-sb.ru/5.jpg
sib-sb.ru/6.jpg
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Re: Manual for setup reCaptcha in Phoca Cart

Post by ehndrju »

described
option 2 (with security keys in cart component)
-> if security options fields fill
sib-sb.ru/5.jpg
sib-sb.ru/6.jpg
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Manual for setup reCaptcha in Phoca Cart

Post by Jan »

Hi, not sure if I understand correctly, but Phoca Cart has independent captcha to Joomla! system, so the options set in Joomla! do not have any influence on Phoca Cart.

All Phoca Cart settings regarding Captcha are stored in Phoca Cart Options:

Image

Jan
If you find Phoca extensions useful, please support the project
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Re: Manual for setup reCaptcha in Phoca Cart

Post by ehndrju »

yes, right.
my actions step by step
step 1:
I fill in the fields in "phoca cart options"
screenshot: http://sib-sb.ru/8.jpg
step 2:
making an order, passing a spam check:
screenshot: http://sib-sb.ru/9.jpg
step 3:
verification passed
screenshot: http://sib-sb.ru/10.jpg
step 4:
verification passed, click chekout, an error appears
screenshot: http://sib-sb.ru/11.jpg

i don't understand why spam check falied
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Manual for setup reCaptcha in Phoca Cart

Post by Jan »

Hi, hmm, do you use some cache on your website? While step 3 (after success), when you look at the javascript console ( https://www.phoca.cz/documents/16-jooml ... -conflicts ), is there some error message?

Jan
If you find Phoca extensions useful, please support the project
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Re: Manual for setup reCaptcha in Phoca Cart

Post by ehndrju »

caching disabled
no errors in the checkout process
http://sib-sb.ru/12.jpg
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Manual for setup reCaptcha in Phoca Cart

Post by Jan »

So if you disable cache, still the same problem?

It should not be a problem but for sure, try to change template to some standard for test only and try to make the order with another template.

Jan
If you find Phoca extensions useful, please support the project
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Re: Manual for setup reCaptcha in Phoca Cart

Post by ehndrju »

1. I created a new website - http://kemstyle.ru/
2. i installed gantry5
3. i installed template premiere
4. i installed the cart component
5. i enable recaptcha plugin
6. i creating keys for this domain
7. i entered the recaptcha keys into the cart settings and recaptcha plugin
8. i enabled the guest checkout - http://kemstyle.ru/1.jpg
9. i test checkout
10. the same error appears on this clean site
Post Reply