Notice: Undefined index: token in /home/my_site/public_html/catalog/controller/payment/epay.php on line 165Warning: Cannot modify header information - headers already sent by (output started at /home/my_site/public_html/index.php:102) in /home/my_site/public_html/system/library/response.php on line 12
The order and payment works fine, but it somehave fail to direct you to the confirmation page.
Line 165 in epay.php says:
Code: Select all
if($md5 == 1) {
$this->response->redirect($this->url->link('checkout/success', 'token=' . $this->session->data['token'], 'SSL'));
} else {
$this->response->redirect($this->url->link('checkout/epay', 'md5error=1', 'SSL'));
Line 12 in response.php says:
Code: Select all
public function redirect($url, $status = 302) {
header('Location: ' . str_replace(array('&', "\n", "\r"), array('&', '', ''), $url), true, $status);
exit();