Captcha issue on Guest checkout

  • Posts: 6
  • Thank you received: 0
  • Hikashop Business
3 years 7 months ago #331860

-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.9.25
-- PHP version -- : 7.4.16
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : none

First off like to say excellent system all round, managed to create the site and workflow very easily.\

I have a question regarding the HikaShop captcah plugin.

As per the guide i assigned this next to the address field which looks and works perfectly. However i just upgraded to essentials package because i needed some of the extra features, one of which is guest checkout.

Running through a quick test of this highlighted an issue. In the email that is sent to the guest user is a link to register on the site if they so wish. If you click this link it takes you to the relevant site using a Hikashop component ID link i guess so to match the new user account against previous order.

On this page is displayed - the fields relevant for registering.i.e username and password. If you click submit then you get an error stating RECAPTCHA not completed. however no Recaptcha is shown on this linked page.

To resolve that i changed the plugin to appear after Password. This did then display the Recaptch on the guest registration link as detailed above.

However this obviously then places the Captcha above the address and after the password field for new user registration.

Currently there is a 2 minute timeout on google recaptcha as such the longest part to enter in the checkout is the address field, so a user may tick the box and not be quick enough to enter the address before the timeout is reached so when they hit proceed with payment button, an error will be thrown and the user will have to scroll back and retick, this is less than idle from a user usability standpoint.

Any pointers for best practice here would be welcome.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 7 months ago #331869

Hi,

In the code of the Recaptcha plugin, we do have a check to skip the recaptcha check for the registration when done after an order is placed. The goal of a captcha is to avoid spam registrations, but if someone was able to go through the checkout, it's most likely not a bot and thus no need for a captcha check.
What you describe seems to indicate that this code doesn't work properly on your website.
I've modified a bit the code there which might help. So first download again the recaptcha plugin on our website and install it again on your website to get the patch and see if that helps.
If not, we'll need to look into it and do some debugging to understand why it doesn't work properly.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum