From a471580d2f4546d8996a1729bdfe044cdb4f60c9 Mon Sep 17 00:00:00 2001 From: "quentin.patras" Date: Tue, 25 Feb 2025 12:51:51 +0100 Subject: [PATCH] 3.5.5 --- CHANGELOG.md | 4 ++++ Controller/WebhookAbstract.php | 1 + Gateway/Config/Config.php | 2 +- Model/Cache/Type.php | 4 ++-- Setup/Patch/Data/RemoveFintectureBankTypeConfig.php | 2 +- composer.json | 2 +- etc/module.xml | 2 +- tests/Model/BankTypeTest.php | 1 + 8 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0ffabf..047dbf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). +## [3.5.5] - 2025-02-24 + +- Add `RequestToPay` webhook type in whitelist + ## [3.5.4] - 2024-05-31 - Add a link to our online CMS documentation diff --git a/Controller/WebhookAbstract.php b/Controller/WebhookAbstract.php index 61db39b..2e011ae 100644 --- a/Controller/WebhookAbstract.php +++ b/Controller/WebhookAbstract.php @@ -52,6 +52,7 @@ abstract class WebhookAbstract implements CsrfAwareActionInterface 'Refund', 'BuyNowPayLater', 'ManualTransfer', + 'RequestToPay' ]; public function __construct( diff --git a/Gateway/Config/Config.php b/Gateway/Config/Config.php index 0ef66f7..ab73b12 100644 --- a/Gateway/Config/Config.php +++ b/Gateway/Config/Config.php @@ -7,7 +7,7 @@ class Config extends BaseConfig { const CODE = 'fintecture'; - const VERSION = '3.5.4'; + const VERSION = '3.5.5'; const KEY_SHOP_NAME = 'general/store_information/name'; const KEY_ACTIVE = 'active'; diff --git a/Model/Cache/Type.php b/Model/Cache/Type.php index dbe83f9..61a4e39 100644 --- a/Model/Cache/Type.php +++ b/Model/Cache/Type.php @@ -12,8 +12,8 @@ class Type extends \Magento\Framework\Cache\Frontend\Decorator\TagScope /** * @param \Magento\Framework\App\Cache\Type\FrontendPool $cacheFrontendPool */ - public function __construct(\Magento\Framework\App\Cache\Type\FrontendPool $cacheFrontendPool - ) { + public function __construct(\Magento\Framework\App\Cache\Type\FrontendPool $cacheFrontendPool) + { parent::__construct( $cacheFrontendPool->get(self::TYPE_IDENTIFIER), self::CACHE_TAG diff --git a/Setup/Patch/Data/RemoveFintectureBankTypeConfig.php b/Setup/Patch/Data/RemoveFintectureBankTypeConfig.php index 9232dd8..7d6deb0 100644 --- a/Setup/Patch/Data/RemoveFintectureBankTypeConfig.php +++ b/Setup/Patch/Data/RemoveFintectureBankTypeConfig.php @@ -43,6 +43,6 @@ public function getAliases() public static function getVersion(): string { - return '3.5.4'; + return '3.5.5'; } } diff --git a/composer.json b/composer.json index b741558..54a08b8 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "email": "contact@fintecture.com" }, "type": "magento2-module", - "version": "3.5.4", + "version": "3.5.5", "license": [ "GPL-3.0" ], diff --git a/etc/module.xml b/etc/module.xml index 268b82a..d48b466 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,7 +1,7 @@ - + diff --git a/tests/Model/BankTypeTest.php b/tests/Model/BankTypeTest.php index 34833c3..c9fb26a 100644 --- a/tests/Model/BankTypeTest.php +++ b/tests/Model/BankTypeTest.php @@ -1,4 +1,5 @@