diff --git a/catalog/controller/payment/mollie_ideal.php b/catalog/controller/payment/mollie_ideal.php index 7e23800d..5d6cd699 100644 --- a/catalog/controller/payment/mollie_ideal.php +++ b/catalog/controller/payment/mollie_ideal.php @@ -242,7 +242,7 @@ public function callback () */ if (isset($payment['bank_status']) && $payment['bank_status'] == ModelPaymentMollieIdeal::BANK_STATUS_SUCCESS) { - $this->redirect($this->url->link('checkout/success', '', 'SSL')); + $this->redirect($this->url->link('checkout/success')); return; } else diff --git a/tests/unittests/catalog/controller/payment/ControllerPaymentMollieIdealCallbackTest.php b/tests/unittests/catalog/controller/payment/ControllerPaymentMollieIdealCallbackTest.php index c0075596..c400ca52 100755 --- a/tests/unittests/catalog/controller/payment/ControllerPaymentMollieIdealCallbackTest.php +++ b/tests/unittests/catalog/controller/payment/ControllerPaymentMollieIdealCallbackTest.php @@ -88,7 +88,7 @@ public function testCartClearedIfPaymentSuccessFull() $this->url->expects($this->once()) ->method('link') - ->with('checkout/success', '', 'SSL') + ->with('checkout/success') ->will($this->returnValue('http://opencart.office/index.php?route=checkout/success')); $this->controller->expects($this->once())