Hi,
In check_end, you can use that code in order to get the order data:
$order_id = JRequest::getInt('order_id');
if(empty($order_id)){
$app = JFactory::getApplication();
$order_id = $app->getUserState('com_hikashop.order_id');
}
$order =null;
if(!empty($order_id)){
$orderClass = hikashop_get('class.order');
$order = $orderClass->loadFullOrder($order_id,false,false);
}
you can see here the content of that variable in order to retrieve what you need:
www.hikashop.com/support/documentation/6...ntation.html#objects
For example, the email will be in $order->customer->user_email