Skip to main content

Bug on checkout in same cases in Firefox and IE

11 years 9 months ago #188809 by ice
-- 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 or Create an account to join the conversation.

11 years 9 months ago #188828 by nicolas
Hi,

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.048 seconds
Powered by Kunena Forum