Skip to content

Commit

Permalink
Merge pull request #164 from alma/feat/chore-version-bump-2-10-0
Browse files Browse the repository at this point in the history
chore: version bump
  • Loading branch information
Benjamin-Freoua-Alma authored Feb 13, 2023
2 parents c6d1618 + af1738b commit 2466bfe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions alma/alma.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

class Alma extends PaymentModule
{
const VERSION = '2.9.0';
const VERSION = '2.10.0';

public $_path;
public $local_path;
Expand All @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions alma/lib/Utils/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2466bfe

Please sign in to comment.