From 67bab80644b1df9c0792f876ea42b61efa4e27b3 Mon Sep 17 00:00:00 2001 From: Aleksandar Sasa Boljanovic Date: Mon, 4 Mar 2024 17:25:22 +0100 Subject: [PATCH 1/2] Fix checkout for payment with redirections ISSUE: CS-5051 --- src/adyenofficial.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/adyenofficial.php b/src/adyenofficial.php index b8ca577f..86e3373f 100755 --- a/src/adyenofficial.php +++ b/src/adyenofficial.php @@ -638,7 +638,8 @@ public function hookActionFrontControllerSetMedia(): void if ($this->context->controller->php_self === 'product' || $this->context->controller->php_self === 'cart' || $this->context->controller->php_self === 'order-confirmation' || - $this->context->controller->php_self === 'order') { + $this->context->controller->php_self === 'order' || + $this->context->controller->page_name === 'module-adyenofficial-payment') { $this->getContext()->controller->addCSS($this->getPathUri() . 'views/css/adyen-checkout.css'); $this->getContext()->controller->addJS($this->getPathUri() . 'views/js/front/adyen-checkout-controller.js'); $this->getContext()->controller->addJS( From 4b05a007b0fa5c7b0636bd7ec89d382ff6dfb733 Mon Sep 17 00:00:00 2001 From: Aleksandar Sasa Boljanovic Date: Mon, 4 Mar 2024 17:32:00 +0100 Subject: [PATCH 2/2] Release version 5.1.11 --- src/adyenofficial.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adyenofficial.php b/src/adyenofficial.php index 86e3373f..0113ff66 100755 --- a/src/adyenofficial.php +++ b/src/adyenofficial.php @@ -46,7 +46,7 @@ public function __construct() { $this->name = 'adyenofficial'; $this->tab = 'payments_gateways'; - $this->version = '5.1.10'; + $this->version = '5.1.11'; $this->author = $this->l('Adyen'); $this->need_instance = 0;