Pb hikashop recaptcha v2

  • Posts: 100
  • Thank you received: 7
  • Hikashop Business
6 days 13 hours ago #315617

-- url of the page with the problem -- : www.fifibrindecuir.fr/copy115
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.3

Hi
A pb has just appeared on my site with recaptcha v2: when a customer places an order, on the registration checkout page , any click on the page triggers the invisible recaptcha and the recaptcha screen appears ?? Then the recaptcha isn't triggered when the customer clicks on the submit form

I tried with different browsers and there is no pb with android, google chrome but there is pb with Firefox and Microsoft edge

The pb is on the hikashop contact page as well

I've given you the url of my test site above, please check it up with firefox
Thank you for your help

Last edit: 6 days 12 hours ago by sophie11.

Please Log in or Create an account to join the conversation.

  • Posts: 68132
  • Thank you received: 10158
  • MODERATOR
6 days 7 hours ago #315618

Hi,

I'm not able to reproduce the problem.
On Google Chrome, when I register on your website, it just let me do it. It's normal that the ReCaptcha doesn't ask me anything on Chrome since I'm logged in to my Google account and thus ReCaptcha (which is owned by Google) knows me already.
On Firefox, Recpatcha doesn't know me, so when I register, it asks me for a challenge and upon successfully answering, the account is registered and I can proceed to the checkout.
So it works as expected.

Please Log in or Create an account to join the conversation.

  • Posts: 100
  • Thank you received: 7
  • Hikashop Business
5 days 15 hours ago #315646

Hi Nicolas
Thank you for your answer
So if the customer isn't connected to Google he gets the challenge even before he fills in the form ? is that right ?
Thank you for your help
Sophie

Last edit: 5 days 14 hours ago by sophie11.

Please Log in or Create an account to join the conversation.

  • Posts: 68132
  • Thank you received: 10158
  • MODERATOR
5 days 9 hours ago #315656

Hi,

Yes and no.
If the customer isn't connected to Google, he might get the challenge or it might not. It depends on what Google decides. If he finds you suspicious, it will ask you the challenge.
And normally, the challenge should appear when you click on the button to proceed, so normally you already have filled the form (and that's what I saw on your website when I tried).

Please Log in or Create an account to join the conversation.

  • Posts: 100
  • Thank you received: 7
  • Hikashop Business
5 days 8 hours ago #315666

Hi Nicolas
I get a different experience : with Firefox and not connected to Google I can't fill in the form, the challenge appears as soon as I click anywhere on the page, on the backgound or any link so I can't even leave the page without filling in the challenge ! Weird ... it wasn't doing that a few weeks ago ...

I have gone back to the tick box on my site as I don't think the invisible recaptcha is working properly.
I've got 2 modules
- one is a testimonials module using the invisible recaptcha: not working properly, same problem any click triggers the challenge ...
- Acymailing newsletter module using invisible recaptcha : working fine no pb

There is definetly a problem with firefox not connected to google ...
Thank you very much

Last edit: 5 days 7 hours ago by sophie11.

Please Log in or Create an account to join the conversation.

  • Posts: 100
  • Thank you received: 7
  • Hikashop Business
5 days 7 hours ago #315668

I've just been on Google recaptcha site and there is a warning message
"Nous avons détecté que votre site ne vérifiait les tests reCAPTCHA réussis que dans moins de 50 % des cas. Cela peut indiquer un problème au niveau de votre intégration de reCAPTCHA. Veuillez consulter notre site pour les développeurs afin d'obtenir plus d'informations."

What is it ?
Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 100
  • Thank you received: 7
  • Hikashop Business
5 days 3 hours ago #315682

Hi
With firefox when I disable the extension AdBlock there is no more problem ...the recaptcha is working as it shoud be
Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 68132
  • Thank you received: 10158
  • MODERATOR
4 days 13 hours ago #315669

Hi,

Ah, yes, I get it before doing anything on the page now. But when I tested it last time I only had it when clicking on the button to register.

I think I found the issue.
Add the code:

if(!foundBtn)
				return true;
before the line:
if(captchaEl.value)
in the file plugins/system/recaptcha2/recaptcha2.php and it should then display the challenge after the click on the button and not elsewhere (when necessary of course).

Please Log in or Create an account to join the conversation.

  • Posts: 100
  • Thank you received: 7
  • Hikashop Business
4 days 12 hours ago #315700

That's it !!! It's working as it should be

Thank you so much for your time
Best wishes
Sophie

Please Log in or Create an account to join the conversation.

  • Posts: 91
  • Thank you received: 3
  • Hikashop Business
1 day 12 hours ago #315763

is the recaptcha v2 package updated that fix already?

Please Log in or Create an account to join the conversation.

  • Posts: 68132
  • Thank you received: 10158
  • MODERATOR
1 day 6 hours ago #315764

Hi,

Yes. We've added that change in the install package of the plugin that you can download on our website.

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum