From bb2b393b7b7d5ece874946cd2abce372acf13736 Mon Sep 17 00:00:00 2001 From: Morbids Date: Tue, 12 Nov 2019 09:00:44 +0200 Subject: [PATCH] Update wayforpay.php --- catalog/controller/extension/payment/wayforpay.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/controller/extension/payment/wayforpay.php b/catalog/controller/extension/payment/wayforpay.php index a87c6a9..4b7b452 100644 --- a/catalog/controller/extension/payment/wayforpay.php +++ b/catalog/controller/extension/payment/wayforpay.php @@ -100,7 +100,7 @@ public function index() $data['text_loading'] = 'loading'; $data['continue'] = $this->url->link('checkout/success'); - return $this->load->view('extension/payment/wayforpay.tpl', $data); + return $this->load->view('extension/payment/wayforpay', $data); } public function confirm() @@ -155,7 +155,7 @@ public function response() $this->response->redirect($this->url->link('checkout/success')); } else { $this->session->data['error'] = $paymentInfo; - $this->response->redirect($this->url->link('checkout/checkout', '', 'SSL')); + $this->response->redirect($this->url->link('checkout/failure', '', 'SSL')); } }