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

#   Invisible recaptcha

##

- **[kivici](/forum/user/43515-kivici "View kivici's Profile")**
- [![kivici's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar43515.jpg)](/forum/user/43515-kivici "View kivici's Profile") Topic Author
- [ Offline](/forum/user/43515-kivici)

Less More

- Posts: 67
- Thank you received: 0
-
-

4 years 8 months ago [\#340067](#340067) by [kivici](/forum/user/43515-kivici "View kivici's Profile")  *[Invisible recaptcha](/forum/27-checkout/904107-invisible-recaptcha#340067 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.6  Hello,  I activated invisible re captcha on checkout, and I noticed 1 issue. I guess it has something to do with the way checkout is working (ajax), but I couldn't find anything in old topics.  Problem is that recaptcha giving error in 1 situation. If we pass filling out data as guest (name, address etc.) and go to 3rd step (payment), but then decide to change again data (for example name), when we go back to edit data when we click on &quot;proceed&quot; message appear &quot;to check box for recaptcha&quot;, thought it is invisible recaptcha. Also on that second step icon for recaptcha is gone (you can see that on pic in attachment). Just word &quot;Captcha&quot; is there, without icon. If I reload icon appear.  Can this be solved somehow?  Jelena")* was created by *[kivici](/forum/user/43515-kivici "View kivici's Profile")*

-- HikaShop version -- : 4.4.5
-- Joomla version -- : 3.10.6

Hello,

I activated invisible re captcha on checkout, and I noticed 1 issue. I guess it has something to do with the way checkout is working (ajax), but I couldn't find anything in old topics.

Problem is that recaptcha giving error in 1 situation. If we pass filling out data as guest (name, address etc.) and go to 3rd step (payment), but then decide to change again data (for example name), when we go back to edit data when we click on "proceed" message appear "to check box for recaptcha", thought it is **invisible** recaptcha. Also on that second step icon for recaptcha is gone (you can see that on pic in attachment). Just word "Captcha" is there, without icon.
If I reload icon appear.

Can this be solved somehow?

Jelena

- [ ![captcha.jpg](/forum/attachment/54512) ](/forum/attachment/54512 "captcha.jpg") [ ](/forum/attachment/54512?download=1 "captcha.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNDEwNy1pbnZpc2libGUtcmVjYXB0Y2hhP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

4 years 8 months ago [\#340068](#340068) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Invisible recaptcha](/forum/27-checkout/904107-invisible-recaptcha#340068 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.6  Hello,  I activated invisible re captcha on checkout, and I noticed 1 issue. I guess it has something to do with the way checkout is working (ajax), but I couldn't find anything in old topics.  Problem is that recaptcha giving error in 1 situation. If we pass filling out data as guest (name, address etc.) and go to 3rd step (payment), but then decide to change again data (for example name), when we go back to edit data when we click on &quot;proceed&quot; message appear &quot;to check box for recaptcha&quot;, thought it is invisible recaptcha. Also on that second step icon for recaptcha is gone (you can see that on pic in attachment). Just word &quot;Captcha&quot; is there, without icon. If I reload icon appear.  Can this be solved somehow?  Jelena")*

Hi,

Thank you for your feedback.
I think this can be fixed by changing the line: Code:

scripts += code.replace('document.addEventListener(\'DOMContentLoaded\',', 'window.hikashop.ready(', 'find("select").chosen(').replace('$(document).ready(', 'window.hikashop.ready(', 'find("select").filter(":visible").chosen(') + '\n';

to: Code:

scripts += code.replace('document.addEventListener(\'DOMContentLoaded\',', 'window.hikashop.ready(').replace('document.addEventListener("DOMContentLoaded",', 'window.hikashop.ready(').replace('$(document).ready(', 'window.hikashop.ready(').replace( 'find("select").chosen(', 'find("select").filter(":visible").chosen(') + '\n';

in the file media/com_hikashop/js/hikashop.js so that the javascript from the ReCaptcha plugin is properly taken into account by the AJAX mechanism in the checkout.
Please report if that fixes the issue for you (it did in my tests) so that we can validate the change for the next version of HikaShop.

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

- **[kivici](/forum/user/43515-kivici "View kivici's Profile")**
- [![kivici's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar43515.jpg)](/forum/user/43515-kivici "View kivici's Profile") Topic Author
- [ Offline](/forum/user/43515-kivici)

Less More

- Posts: 67
- Thank you received: 0
-
-

4 years 7 months ago [\#340641](#340641) by [kivici](/forum/user/43515-kivici "View kivici's Profile")  Replied by *[kivici](/forum/user/43515-kivici "View kivici's Profile")* on topic *[Invisible recaptcha](/forum/27-checkout/904107-invisible-recaptcha#340641 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.6  Hello,  I activated invisible re captcha on checkout, and I noticed 1 issue. I guess it has something to do with the way checkout is working (ajax), but I couldn't find anything in old topics.  Problem is that recaptcha giving error in 1 situation. If we pass filling out data as guest (name, address etc.) and go to 3rd step (payment), but then decide to change again data (for example name), when we go back to edit data when we click on &quot;proceed&quot; message appear &quot;to check box for recaptcha&quot;, thought it is invisible recaptcha. Also on that second step icon for recaptcha is gone (you can see that on pic in attachment). Just word &quot;Captcha&quot; is there, without icon. If I reload icon appear.  Can this be solved somehow?  Jelena")*

Hello Nicolas,

It did solve problem.

Just one more question. Is it necessary to have recaptcha, if someone is ordering as guest? If I understood correctly, this was removed in 2020:
"The Recaptcha plugin now skips the guest registration form as it is not needed there." Does this apply on guest ordering?

Jelena

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNDEwNy1pbnZpc2libGUtcmVjYXB0Y2hhP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

4 years 7 months ago [\#340652](#340652) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Invisible recaptcha](/forum/27-checkout/904107-invisible-recaptcha#340652 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.6  Hello,  I activated invisible re captcha on checkout, and I noticed 1 issue. I guess it has something to do with the way checkout is working (ajax), but I couldn't find anything in old topics.  Problem is that recaptcha giving error in 1 situation. If we pass filling out data as guest (name, address etc.) and go to 3rd step (payment), but then decide to change again data (for example name), when we go back to edit data when we click on &quot;proceed&quot; message appear &quot;to check box for recaptcha&quot;, thought it is invisible recaptcha. Also on that second step icon for recaptcha is gone (you can see that on pic in attachment). Just word &quot;Captcha&quot; is there, without icon. If I reload icon appear.  Can this be solved somehow?  Jelena")*

Hi,

Thanks for your feedback on the solution.

Sorry for not being clear in the changelog message.
This modification was to remove the Recpatcha check when a user who purchased as a guest uses the registration link provided to him after the checkout when the option "Allow registration after guest checkout" is activated in the HikaShop configuration.

So yes, it's still necessary to have recaptcha when someone is ordering as a guest.

The following user(s) said Thank You: [kivici](/forum/user/43515-kivici "View kivici's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNDEwNy1pbnZpc2libGUtcmVjYXB0Y2hhP3RtcGw9bWFya2Rvd24=) 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.056 seconds

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