function onAfterOrderConfirm(&$order, &$methods, $method_id)
{
parent::onAfterOrderConfirm($order, $methods, $method_id);
....
....
....
$orderClass = hikashop_get('class.order');
$mail = $orderClass->loadNotification((int)$order_id, 'order_admin_notification');
$mailClass = hikashop_get('class.mail');
$mailClass->sendMail($mail);
$this->modifyOrder($order_id, $order_status, $history, false);
$vars['Amount'] = number_format((float)$vars['Amount'], 2, '.', '');
$vars['Signature'] = $this->_getIPay88_signature($this->payment_params->merchant_key.$vars['MerchantCode'].$vars['RefNo'].str_replace('.','',$vars['Amount']).$vars['Currency']);
$query_url = 'https://www.mobile88.com/epayment/entry.asp';
$this->payment_params->url = $query_url;
$this->vars = $vars;
return $this->showPage('end');
}