HikaShop ReCaptcha v2 and Guest Login

  • Posts: 86
  • Thank you received: 4
  • Hikashop Business
8 years 1 week ago #236147

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.4.45-0

Morning,

If you order as a guest the Hikashop reCAPTCHA is working, but you can continue to finish the registration and continue the order without confirming the reCAPTCHA.

So it is there on the guest registration page, but actually it is doing nothing..

I did check the contact form and the normal registration page and there you do need to confirm the reCAPTCHA before you can continue.

The only reference I did find is the “silent registration” modification, but I do not know if this will cause the problem.

Rene

Last edit: 8 years 7 hours ago by EnerW. Reason: Problem Solved

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
8 years 1 week ago #236195

Hi,

I tested on my end on a test website but it works fine. I'm not able to proceed if the captcha is not filled. And if it is, I'm able to proceed with a guest checkout.
How did you configure the plugin ? Could you do a screenshot of its settings ?

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

  • Posts: 86
  • Thank you received: 4
  • Hikashop Business
8 years 1 week ago #236257

Evening Nicolas,

For the other forms it is just working, strange, see the screenshot.

Rene

Attachments:

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
8 years 1 week ago #236265

Hi,

From what I can see, you configured the plugin to display after the password field.
But there is no password field on the guest checkout form so you shoudl actually not even see it on the guest checkout form.
I would recommand to change that option to "Email" instead.
That's all I can see.

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

  • Posts: 86
  • Thank you received: 4
  • Hikashop Business
8 years 1 week ago #236390

Afternoon Nicolas,

changing it to “Email” has no effect, the problem is still the same.

I fact there is a password field on the page, but it is hidden since you select guest checkout and not register. If I would use register on the checkout page the recaptcha is working correctly, so the user's response is verified in the backend.

In your configuration of the guest checkout you do get the recaptcha with the setting password instead of email?

It looks to me that the recaptcha is just working fine, only Hikashop is not aware that is should monitor it's response.

Regards, Rene

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
8 years 1 week ago #236392

Hi,

I do get the recaptcha if I set the setting to "password", not if I set it to "email".
And the recaptcha plugin monitors the response.
That's done thanks to the code:

function onBeforeUserCreate(&$user, &$do){

		$app = JFactory::getApplication();
		if ($app->isAdmin() || (@$_REQUEST['option']=='com_updateme' && @$_REQUEST['ctrl']=='subscription' && @$_REQUEST['task']=='api')) return true;

		$this->_init();
		if(!$this->params->get('registration',1)){
			return true;
		}

		$do = $this->_checkCaptcha();
	}
in the recaptcha plugin php file.

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

  • Posts: 86
  • Thank you received: 4
  • Hikashop Business
8 years 7 hours ago #238031

Problem solved, please use the latest version of the Hikashop Recaptcha V2 plugin (24.04.2016)

Rene

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

  • Posts: 103
  • Thank you received: 5
5 years 1 month ago #304264

hi, i have the same problem > on my guest login i have no Recaptcha and i get a lot of spam orders!
how can i prevent this?
i also noticed that the plugin "Hikashop Recaptcha V2" is not installed.

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

  • Posts: 86
  • Thank you received: 4
  • Hikashop Business
5 years 1 month ago #304273
The following user(s) said Thank You: n00bster

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

Time to create page: 0.081 seconds
Powered by Kunena Forum