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

#   Bug on checkout in same cases in Firefox and IE

##

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

Less More

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

11 years 9 months ago [\#188809](#188809) by [ice](/forum/user/35962-ice "View ice's Profile")  *[Bug on checkout in same cases in Firefox and IE](/forum/27-checkout/874639-bug-on-checkout-in-same-cases-in-firefox-and-ie#188809 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : firefox 35.0.1, IE 11.0.9600.17498  Firefox, IE: If user register or login on checkout page: then he choose payment metod (or shipping or address) hikashop on my site create order (user don't press submit button). If user after what press submit button, he get error &quot;cart empty&quot;  Safari, Chrome: All work correctly.  I spend 3 day to find reason this behavior: File /components/com&#95;hikashop/controllers/checkout.php. Bug code: if(!JRequest::getVar('hikashop&#95;validate',1)){ //default value - hikashop&#95;validate=1!!!! hikashop&#95;validate - is ID return false; } Correct code: if(!JRequest::getVar('validate',0)){ // validate - is NAME return false; } Now it work on Firefox, IE, Safari, Chrome.")* was created by *[ice](/forum/user/35962-ice "View ice's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.13
-- Browser(s) name and version -- : firefox 35.0.1, IE 11.0.9600.17498

Firefox, IE:
If user register or login on checkout page: then he choose payment metod (or shipping or address) hikashop on my site create order (user don't press submit button).
If user after what press submit button, he get error "cart empty"

Safari, Chrome:
All work correctly.

I spend 3 day to find reason this behavior:
File /components/com_hikashop/controllers/checkout.php.
Bug code:
if(!JRequest::getVar('hikashop_validate',1)){ //default value - hikashop_validate=1!!!! hikashop_validate - is ID
return false;
}
Correct code:
if(!JRequest::getVar('validate',0)){ // validate - is NAME
return false;
}
Now it work on Firefox, IE, Safari, Chrome.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NDYzOS1idWctb24tY2hlY2tvdXQtaW4tc2FtZS1jYXNlcy1pbi1maXJlZm94LWFuZC1pZT90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

11 years 9 months ago [\#188828](#188828) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bug on checkout in same cases in Firefox and IE](/forum/27-checkout/874639-bug-on-checkout-in-same-cases-in-firefox-and-ie#188828 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : firefox 35.0.1, IE 11.0.9600.17498  Firefox, IE: If user register or login on checkout page: then he choose payment metod (or shipping or address) hikashop on my site create order (user don't press submit button). If user after what press submit button, he get error &quot;cart empty&quot;  Safari, Chrome: All work correctly.  I spend 3 day to find reason this behavior: File /components/com&#95;hikashop/controllers/checkout.php. Bug code: if(!JRequest::getVar('hikashop&#95;validate',1)){ //default value - hikashop&#95;validate=1!!!! hikashop&#95;validate - is ID return false; } Correct code: if(!JRequest::getVar('validate',0)){ // validate - is NAME return false; } Now it work on Firefox, IE, Safari, Chrome.")*

Hi,

Nice catch. Thank you for the feedback. We'll correct that on our end for next version of HikaShop.

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

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