Topic-icon Can't login to Hikashop site with their ReCaptcha enabled

Active Subscriptions:

None
We're using SCLogin and JFBConnect. I have a Hikashop site that has the Joomla and Hikahop Recaptcha plugins.
The ReCaptcha is only displayed on the registration form (a requirement for us) when the Hikashop plugin is enabled.
With Hika ReCaptcha enabled, I'm not able to use any social login. I've done lots of testing various scenarios in hopes the detail provides a clue.

It looks like it's trying - a Joomla account is created, but no Hikashop user is created. The account shows up in the User Map but the user is not logged in.
Initially the user gets a message that the account was linked, another message at the same time indicating "The CAPTCHA solution was incorrect".
Subsequent attempts still fail but with just the Captcha error message. If the Hika Captcha is disabled, I'm able to use social logins and the Hikashop user is created.

Once the Joomla and Hika users are created and there's a mapping in JFBConnect, login works reliably even with Captcha plugin enabled.
Is there something I may be missing that breaks authentication when Hika Captcha is enabled?
The topic has been locked.
Support Specialist
Offhand, I'm not sure what the Hikashop recaptcha plugin does differently than the Joomla one. Unfortunately, our social login doesn't present the recaptcha option unless you've disabled the Automatic registration option. If you've disabled automatic registration, then on JFBConnect login or registration page the recaptcha should be shown.

However, we only have tested with the plugins in the standard 'Recaptcha' plugin group.

If Hikashop's recaptcha is doing things differently and not using the standard Joomla way of recaptcha, then there's no way for us to know about that. If they aren't showing a captcha field though, they shouldn't be trying to verify it either.

Bottom line, I'm not sure what we could do about this. Is there a reason you can't just use the Joomla captcha option, which is included with Joomla and standardized?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
The problem is that with automatic registration and the Hikashop Recaptcha disabled, no captcha is presented on registration. I've confirmed configuration both for the site default and user options reference the standard Recaptcha, but none is displayed.

I prefer not to disable automatic registration - then social login provides very little benefit.
With the Hikashop recaptcha enabled, captcha is presented on registration for users that don't want to use social login, but automatic login via JFBConnect is creating the Joomla account, not creating the Hika account, and displaying an error.

Of the two options, Hikashop's Recaptcha makes more sense as it also presents on comments and contact forms being submitted.
The topic has been locked.
Support Specialist
Which registration isn't captcha presented on? If the standard Joomla captcha option is enabled, JFBConnect should show it on our registration page (if you disable automatic registration), it shouldn't prevent automatic registration because the Joomla captcha is smart enough to know that it should be bypassed and it should should work on the normal Joomla registration page.

It sounds like the Hikashop captcha may be overly aggressive in how it validates captcha, unlike the Joomla captcha plugin. Is there a way to only enable it for comments or contact forms for the features you want?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 3 weeks ago - 7 years 3 weeks ago #61372 by csymmonds
With your assistance, I was able to resolve this.
I created another site for testing and noticed that the Joomla Captcha was being displayed on registration, social login worked as it should.
On the broken site, I disabled various plugins a group at a time until the standard Captcha was being displayed on registration, eventually narrowing it down to a single plugin.

For other Hikashop site owners, both Hika and Joomla Captcha can be enabled.
As long as Joomla's is used on registration you don't get the errors I was seeing on authentication.

Thank you for your assistance and patience.
Last edit: 7 years 3 weeks ago by csymmonds.
The topic has been locked.
Support Specialist
No problem for the help. I'm really glad to hear you got things going. If there was a specific plugin that was causing the conflict, could you share that information with us? I'm curious to hear what the problem was as that will definitely help others if they run into this.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Sure, I was going to name names but was unfamiliar with etiquette.

The plugin causing the problem was "Offlajn Dojo Loader", a remnant from a product that was "uninstalled".
Seems uninstalling a product only kinda-sorta uninstalls.

Lesson Learned:
The site doesn't yet get a lot of traffic, still in development - but this was an important lesson to do product evaluation on an environment you don't care about.
The topic has been locked.
Support Specialist
Thanks for the info. Yeah, wasn't trying to name and shame. JFBConnect has had conflicts with other software before and it's not always 'their' fault. Just good to know so we can keep an eye out for similar issues in the future.

As for a development / test environment, yeah, that's pretty essential. Especially as you grow, it's best to always test somewhere first.. and even then, deploying live isn't always a sure-thing, you just have more confidence when you do.

Anyways, glad you got things going. If you run into anything else or have any other questions or feedback, please let us know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/extensi...l-display/jfbconnect

Thanks,
Alex
The topic has been locked.