AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Nuno Neff on December 22, 2023, 06:46:33 PM

Title: Human verification has failed! Please try agan.
Post by: Nuno Neff on December 22, 2023, 06:46:33 PM
Hello, my site has 2 languages and after i renamed Forms Manager text my contact us form is giving me this error.

Human verification has failed! Please try again.  It was working just before i renamed the text  First name, Email , Inquiry and Captcha.

I renamed the text back to english but the error continues.

How can i fix this?  Im on Abantecart 1.3.4  with Bootstrap5 theme and using PHP 8.1
Title: Re: Human verification has failed! Please try agan.
Post by: Nuno Neff on December 23, 2023, 04:37:18 PM
I have made 3 videos where in the first video you can see that the simple recatcha that comes with abantecart is working

In the second video, i insert my recaptcha site key and secret key and it works!

in the third video i rename in forms manager  first name, email, inquiry and recaptcha to portuguese, and when i go and test it, its simply broken!!

Human verification has failed! Please try agan.

Unfortunately the forum doesn't allow me to post the 3 short videos I've made so that you can see and solve this issue or this bug!

But if you make a fresh install and do what I've just reported, you'll see that this happens to you.
Title: Re: Human verification has failed! Please try agan.
Post by: Nuno Neff on December 23, 2023, 04:40:54 PM
Here are the videos, they will expire in 2 days

https://streamable.com/3iusdo
https://streamable.com/i26k3c
https://streamable.com/4zjt17
Title: Re: Human verification has failed! Please try agan.
Post by: abolabo on December 24, 2023, 11:04:42 AM
please check this bugfix (https://github.com/abantecart/abantecart-src/commit/934b360e3d5262ac0a6506bea4d2c9e01860b01a)

Title: Re: Human verification has failed! Please try agan.
Post by: Nuno Neff on December 24, 2023, 08:47:04 PM
Hello Abolado, first of all merry christmas, ok so i copied the code to my form.php but the error continues ?
Title: Re: Human verification has failed! Please try agan.
Post by: abolabo on December 26, 2023, 04:47:06 AM
Hello Abolado, first of all merry christmas, ok so i copied the code to my form.php but the error continues ?

To debug you should to check what data passed to your controller.
Just open developer tools of your browser, click Network tab and see POST request data after form submission.
You need to find captcha long temporary key in it.
Note parameter name.
Title: Re: Human verification has failed! Please try agan.
Post by: Nuno Neff on December 26, 2023, 06:48:46 AM
Do you mean this?
Title: Re: Human verification has failed! Please try agan.
Post by: Nuno Neff on January 02, 2024, 06:11:27 AM
Hello Abolado if its those numbers i can find my site key in it, but still it doesnt work.