Skip to content

Commit

Permalink
PIPRES-328: Version upgrade and changelog (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandan2 authored Nov 20, 2023
1 parent 88034a2 commit 2e6366b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2012-2020, Mollie B.V. All rights reserved.
Copyright (c) 2012-2023, Mollie B.V. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
Expand All @@ -17,4 +17,4 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
DAMAGE.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

# Changelog #

## Changes in release 6.0.5 ##
+ Recurring order options are now in "Subscriptions" tab
+ Implemented atomic action protection for Mollie API callbacks
+ Overall improvements and bug fixes

## Changes in release 6.0.4 ##
+ New payment method: Billie.
+ Enabled mixed cart for subscription orders. Various products could be coupled with a single subscription product.
Expand Down
2 changes: 1 addition & 1 deletion mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function __construct()
{
$this->name = 'mollie';
$this->tab = 'payments_gateways';
$this->version = '6.0.4';
$this->version = '6.0.5';
$this->author = 'Mollie B.V.';
$this->need_instance = 1;
$this->bootstrap = true;
Expand Down
4 changes: 4 additions & 0 deletions upgrade/Upgrade-6.0.4.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ function updateOrderStatusNames604(Mollie $module)
foreach ($authorizablePaymentStatusShipped->name as $langId => $name) {
$authorizablePaymentStatusShipped->name[$langId] = 'Order payment shipped';
}
} else {
$authorizablePaymentStatusShipped->name = 'Order payment shipped';
}

$authorizablePaymentStatusShipped->save();
Expand All @@ -103,6 +105,8 @@ function updateOrderStatusNames604(Mollie $module)
foreach ($authorizablePaymentStatusAuthorized->name as $langId => $name) {
$authorizablePaymentStatusAuthorized->name[$langId] = 'Order payment authorized';
}
} else {
$authorizablePaymentStatusAuthorized->name = 'Order payment authorized';
}

$authorizablePaymentStatusAuthorized->save();
Expand Down

0 comments on commit 2e6366b

Please sign in to comment.