Topic-icon The CAPTCHA solution was incorrect

Active Subscriptions:

None
6 years 11 months ago - 6 years 11 months ago #61656 by ChristopheMG
Hello,

I get an error message : The CAPTCHA solution was incorrect,
The new user is there in the backend (Users>Manage), not enabled/activated,
If I try again, this time I get "This email address is already registered." and the page is the Register page.

Do you have any idea to fix it, please?
Is it possible to edit the confirmation email? Like the one from the register form...

Thanks,
Christophe.
Last edit: 6 years 11 months ago by ChristopheMG.
The topic has been locked.
Support Specialist
6 years 11 months ago #61660 by alzander

Is it possible to edit the confirmation email? Like the one from the register form...

JFBConnect uses the Joomla language system for the emails that are sent. You can edit the text of our language files in the /language/en_GB/en_gb.com_jfbconnect.ini file and update strings like below to have the text you'd prefer:
COM_JFBCONNECT_EMAIL_REGISTERED_WITH_ADMIN_ACTIVATION_BODY_NOPASSWORD

As for the Captcha, can you tell us what captcha system you're using? We test extensively with the standard Joomla captcha plugin and haven't seen the issue you're reporting above. Once we know what you're using for captcha, we can gladly help investigate further.

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

None
6 years 11 months ago #61666 by ChristopheMG
Hello Alex,

The problem comes from the HikaShop ReCaptcha v2.
When I disable the plugin, it works fine...
But I need it in the registration form (hikashop / hikamarket)

Thanks,
Christophe
The topic has been locked.
Support Specialist
6 years 11 months ago #61670 by alzander
Christophe,
I'm unsure how the Hikashop captcha plugin works. I know JFBConnect works with the standard Joomla captcha plugin, and I'd recommend using that if possible. I'm unsure why Hikashop has their own ReCaptcha plugin when that's a part of Joomla's core functionality already. Either way, JFBConnect does work with captcha's from various other extensions as most don't try to validate the captcha if it was never presented in the first place, as would be the case with JFBConnect when using the automatic registration mode.

We had a similar issue from another users with Hikashop's captcha that you can read about below:
www.sourcecoast.com/forums/jfbconnect/jf...ir-recaptcha-enabled

Perhaps that will give you some insights into how they got things working.

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

None
6 years 11 months ago #61680 by ChristopheMG
Alex,

Yes this other topic is similar but I don't think that my problem comes from another plugin... I installed only hikashop/market, SCLogin, JFBConnect and T3 Template...
I'll contact the hikashop support but I would like to get a solution here?
If I disable the automatic registration, I get a registration page ".../component/jfbconnect/?view=loginregister&provider=google&r..."
They're is no captcha and I get the same problem if I click on register (The CAPTCHA solution was incorrect).

I see no other choice than "JFBConnect" as registration component in Configuration.
Do you think it's possible to link/add "/component/hikashop/user/form" ?

I contact the hikashop support, I hope to find a solution...

Thanks,
The topic has been locked.
Support Specialist
6 years 11 months ago #61683 by alzander
We can investigate implementing a Hikashop registration flow where you see their registration page. However, that will take some time and not something that's the top of our priority list as it's not widely requested.

As for the problem, please let us know what Hikashop responds with. JFBConnect loads plugins from the Captcha plugin group, which is a standard Joomla convention. If that's not being shown on our registration page, then the Hikashop plugin shouldn't also be triggered during the registration. We'll try to investigate further, but we do support the standard Joomla captcha method and we recommend using that if possible.

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

None
6 years 11 months ago #61687 by ChristopheMG
Hi Alex,

Hikashop just responded: www.hikashop.com/forum/integrations/8901...ncorrect.html#269071

Please let me know,

Thank you.
The topic has been locked.
Support Specialist
6 years 11 months ago #61694 by mel
I was able to reproduce the issue on my test site and seemed to work around it with a small code change to the recaptcha plugin. I responded to the thread on their forums with details on what I found/changed and can answer if they have any more questions for us.

-Melissa
The topic has been locked.
Active Subscriptions:

None
6 years 11 months ago - 6 years 11 months ago #61700 by ChristopheMG
Melissa,
I don't see your response to the thread: www.hikashop.com/forum/integrations/8901...ncorrect.html#269071
You can post the solution here and I will duplicate it on this thread...

To resume,
When HikaShop ReCaptcha v2 is disactivated, Message ok + the user receive the confirmation email.
When activated: Message "The CAPTCHA solution was incorrect", no email, the user is in the user list but not enable, not activated...

Please let me know,
Christophe.
Last edit: 6 years 11 months ago by ChristopheMG.
The topic has been locked.
Support Specialist
6 years 11 months ago #61703 by mel
Ahh, I just tried to resubmit my message to that thread and there was a warning that it needs to be reviewed by a moderator before it's posted to the thread. I hadn't noticed that yesterday. Luckily I copied it to by clipboard first, so here's the response I just posted again:

Hi,

This is Melissa from the SourceCoast team for JFBConnect.

When our automatic registration setting is disabled, JFBConnect goes to a user registration view where we ask for a little bit of extra profile information from the user (some may be entered by the user or imported from a social network). Then a Joomla user is created with a mapping to the social network credentials. In the case with the recaptcha plugin enabled, the error message mentioned above appears when the Register button on this registration view is clicked.

I stepped through the Hikashop recaptcha plugin code and found that the onBeforeUserCreate method is getting triggered and making the call to checkCaptcha that is throwing the message. If I put in a check to return true for com_jfbconnect (similar to onBeforeStoreUser method that you mentioned), then the registration proceeds as normal and the user is created/activated properly without a warning.

Let me know if you need any more details.

Thanks
-Melissa

The topic has been locked.