From af1738b1e06587bb0c1fbf3c3e155fdaf7a853ea Mon Sep 17 00:00:00 2001 From: Benjamin Freoua Date: Mon, 13 Feb 2023 15:25:20 +0100 Subject: [PATCH] chore: version bump --- CHANGELOG.md | 8 +++++++- alma/alma.php | 4 ++-- alma/lib/Utils/Settings.php | 3 +-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 952b64973..7d41b1977 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,13 @@ ## v2.10.0 -- Share of Checkout +- Optimise your performance with insights on share of checkout +- Alma module is now compatible with Prestashop 8 +- Updated translations +- Fix installing our module on PrestaShop 1.6 +- Fix refund status for non-Alma payments +- Fix payment error in Prestashop 1.5.3.1 +- Fix payment error for when shippingInfo is an array ## v2.9.0 diff --git a/alma/alma.php b/alma/alma.php index 3335ccf12..d7b1239d0 100644 --- a/alma/alma.php +++ b/alma/alma.php @@ -31,7 +31,7 @@ class Alma extends PaymentModule { - const VERSION = '2.9.0'; + const VERSION = '2.10.0'; public $_path; public $local_path; @@ -46,7 +46,7 @@ public function __construct() { $this->name = 'alma'; $this->tab = 'payments_gateways'; - $this->version = '2.9.0'; + $this->version = '2.10.0'; $this->author = 'Alma'; $this->need_instance = false; $this->bootstrap = true; diff --git a/alma/lib/Utils/Settings.php b/alma/lib/Utils/Settings.php index bc7fe0929..eeedc5647 100644 --- a/alma/lib/Utils/Settings.php +++ b/alma/lib/Utils/Settings.php @@ -148,8 +148,7 @@ public static function canLog() public static function getShareOfChekcoutStatus() { $default = ShareOfCheckoutAdminFormBuilder::ALMA_SHARE_OF_CHECKOUT_CONSENT_UNSET; - if (version_compare(_PS_VERSION_, '1.6', '<')) - { + if (version_compare(_PS_VERSION_, '1.6', '<')) { $default = ShareOfCheckoutAdminFormBuilder::ALMA_SHARE_OF_CHECKOUT_CONSENT_NO; }