[Skip to main content](#vessel-content)

#   JFBConnect, The CAPTCHA solution was incorrect

##

- **[ChristopheMG](/forum/user/46533-christophemg "View ChristopheMG's Profile")**
- [![ChristopheMG's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46533-christophemg "View ChristopheMG's Profile") Topic Author
- [ Offline](/forum/user/46533-christophemg)

Less More

- Posts: 99
- Thank you received: 0
-
-

9 years 5 months ago -  9 years 5 months ago [\#269053](#269053) by [ChristopheMG](/forum/user/46533-christophemg "View ChristopheMG's Profile")  *[JFBConnect, The CAPTCHA solution was incorrect](/forum/30-integrations/890150-jfbconnect-the-captcha-solution-was-incorrect#269053 "Hello,  I use hikashop / hikamarket registration forms on my website When I try to Log In with JFBConnect, I get an error : The CAPTCHA solution was incorrect I don't get this error when I disable the HikaShop ReCaptcha v2 plugin...  I created a topic at sourcecoast:   www.sourcecoast.com/forums/jfbconnect/jf...was-incorrect#p61680  Could you please take a look?  Christophe.")* was created by *[ChristopheMG](/forum/user/46533-christophemg "View ChristopheMG's Profile")*

Hello,

I use hikashop / hikamarket registration forms on my website
When I try to Log In with JFBConnect, I get an error : The CAPTCHA solution was incorrect
I don't get this error when I disable the HikaShop ReCaptcha v2 plugin...

I created a topic at sourcecoast: [ www.sourcecoast.com/forums/jfbconnect/jf...was-incorrect#p61680](https://www.sourcecoast.com/forums/jfbconnect/jfbconnect-joomla-3x-support/12574-the-captcha-solution-was-incorrect#p61680)

Could you please take a look?

Christophe.

Last edit: 9 years 5 months ago by [ChristopheMG](/forum/user/46533-christophemg "View ChristopheMG's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTAxNTAtamZiY29ubmVjdC10aGUtY2FwdGNoYS1zb2x1dGlvbi13YXMtaW5jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86282
- Thank you received: 14262
-
-

9 years 5 months ago [\#269071](#269071) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[JFBConnect, The CAPTCHA solution was incorrect](/forum/30-integrations/890150-jfbconnect-the-captcha-solution-was-incorrect#269071 "Hello,  I use hikashop / hikamarket registration forms on my website When I try to Log In with JFBConnect, I get an error : The CAPTCHA solution was incorrect I don't get this error when I disable the HikaShop ReCaptcha v2 plugin...  I created a topic at sourcecoast:   www.sourcecoast.com/forums/jfbconnect/jf...was-incorrect#p61680  Could you please take a look?  Christophe.")*

Hi,

I understand that if you deactivate the "automatic registration" setting of JFBConnect, it works fine.
I'm not familiar with JFBConnect.
Could you explain what that setting does ?

Here is what I can say without knowning much about JFBConnect:
The Recaptcha we have was developed well before the Captcha system of Joomla existed.
It is a system plugin which implements the onBeforeStoreUser trigger of Joomla.
If the option parameter in the URL of the request is either of 'com_user','com_users','com_alpharegistration','com_ccusers','com_virtuemart','com_hikashop','com_hikamarket','com_akeebasubs'
then our plugin checks that the captcha was filled in properly. These are the extensions that are supported by the plugin and the plugin manually add the captcha to their registration page with some regex in the trigger onAfterRender.

If we could understand what is the flow of JFBConnect in the case it doesn't work, we could probably come up with some modification to avoid that situation. Maybe JFBconnect support will also have some indications for us as to what should be the best solution knowing what I just wrote above so I'd recommend you give them a link to this thread.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTAxNTAtamZiY29ubmVjdC10aGUtY2FwdGNoYS1zb2x1dGlvbi13YXMtaW5jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sourcecoast](/forum/user/50099-sourcecoast "View sourcecoast's Profile")**
- [![sourcecoast's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50099-sourcecoast "View sourcecoast's Profile")
- [ Offline](/forum/user/50099-sourcecoast)

Less More

- Posts: 1
- Thank you received: 0
-
-

9 years 5 months ago [\#269242](#269242) by [sourcecoast](/forum/user/50099-sourcecoast "View sourcecoast's Profile")  Replied by *[sourcecoast](/forum/user/50099-sourcecoast "View sourcecoast's Profile")* on topic *[JFBConnect, The CAPTCHA solution was incorrect](/forum/30-integrations/890150-jfbconnect-the-captcha-solution-was-incorrect#269242 "Hello,  I use hikashop / hikamarket registration forms on my website When I try to Log In with JFBConnect, I get an error : The CAPTCHA solution was incorrect I don't get this error when I disable the HikaShop ReCaptcha v2 plugin...  I created a topic at sourcecoast:   www.sourcecoast.com/forums/jfbconnect/jf...was-incorrect#p61680  Could you please take a look?  Christophe.")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTAxNTAtamZiY29ubmVjdC10aGUtY2FwdGNoYS1zb2x1dGlvbi13YXMtaW5jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86282
- Thank you received: 14262
-
-

9 years 5 months ago [\#269318](#269318) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[JFBConnect, The CAPTCHA solution was incorrect](/forum/30-integrations/890150-jfbconnect-the-captcha-solution-was-incorrect#269318 "Hello,  I use hikashop / hikamarket registration forms on my website When I try to Log In with JFBConnect, I get an error : The CAPTCHA solution was incorrect I don't get this error when I disable the HikaShop ReCaptcha v2 plugin...  I created a topic at sourcecoast:   www.sourcecoast.com/forums/jfbconnect/jf...was-incorrect#p61680  Could you please take a look?  Christophe.")*

Hi,

Thank you for the details.
I've made a patch to the plugin based on that. It should now work properly, regardless of how that setting is configured.
Please download again the Recaptcha plugin on [ www.hikashop.com/support/documentation/7...-with-recaptcha.html](https://www.hikashop.com/support/documentation/72-hikashop-integration-with-recaptcha.html) and install it on your website @ChristopheMG and that should then work fine.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTAxNTAtamZiY29ubmVjdC10aGUtY2FwdGNoYS1zb2x1dGlvbi13YXMtaW5jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ChristopheMG](/forum/user/46533-christophemg "View ChristopheMG's Profile")**
- [![ChristopheMG's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46533-christophemg "View ChristopheMG's Profile") Topic Author
- [ Offline](/forum/user/46533-christophemg)

Less More

- Posts: 99
- Thank you received: 0
-
-

9 years 5 months ago -  9 years 5 months ago [\#269322](#269322) by [ChristopheMG](/forum/user/46533-christophemg "View ChristopheMG's Profile")  Replied by *[ChristopheMG](/forum/user/46533-christophemg "View ChristopheMG's Profile")* on topic *[JFBConnect, The CAPTCHA solution was incorrect](/forum/30-integrations/890150-jfbconnect-the-captcha-solution-was-incorrect#269322 "Hello,  I use hikashop / hikamarket registration forms on my website When I try to Log In with JFBConnect, I get an error : The CAPTCHA solution was incorrect I don't get this error when I disable the HikaShop ReCaptcha v2 plugin...  I created a topic at sourcecoast:   www.sourcecoast.com/forums/jfbconnect/jf...was-incorrect#p61680  Could you please take a look?  Christophe.")*

Hi Nicolas,
When I try to install the new plugin:
I get a white page +
Fatal error: Cannot use [] for reading in .../.../public_html/plugins/system/recaptcha2/recaptcha2.php on line 59

Please let me know,

Last edit: 9 years 5 months ago by [ChristopheMG](/forum/user/46533-christophemg "View ChristopheMG's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTAxNTAtamZiY29ubmVjdC10aGUtY2FwdGNoYS1zb2x1dGlvbi13YXMtaW5jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86282
- Thank you received: 14262
-
-

9 years 5 months ago [\#269326](#269326) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[JFBConnect, The CAPTCHA solution was incorrect](/forum/30-integrations/890150-jfbconnect-the-captcha-solution-was-incorrect#269326 "Hello,  I use hikashop / hikamarket registration forms on my website When I try to Log In with JFBConnect, I get an error : The CAPTCHA solution was incorrect I don't get this error when I disable the HikaShop ReCaptcha v2 plugin...  I created a topic at sourcecoast:   www.sourcecoast.com/forums/jfbconnect/jf...was-incorrect#p61680  Could you please take a look?  Christophe.")*

Hi,

Thanks for the feedback. That's another bug we didn't know about and not related to the JCBConnect issue.
I've added a patch for that one too.

Please download again the Recaptcha plugin and install it on your website and you'll get the fix for that error too.

The following user(s) said Thank You: [ChristopheMG](/forum/user/46533-christophemg "View ChristopheMG's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTAxNTAtamZiY29ubmVjdC10aGUtY2FwdGNoYS1zb2x1dGlvbi13YXMtaW5jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.242 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
