Skip to main content

We are not getting the order_id in the thank you p

10 years 6 months ago #238581 by cberry1971
Hi.

We are using :
Code:
$app = JFactory::getApplication(); $order_id = $app->getUserState('com_hikashop.order_id');
and sometimes we get the order_id but sometimes we do not get that, why?

Thanks.

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

10 years 6 months ago #238592 by nicolas
Hi,

It depends. That value is set in the user session.
Once the user session expires (log out, use another browser, go from the www to the non www URL of the website, go from the https to the http URL of the website, etc), the value is lost.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum