Skip to content

Commit

Permalink
PIPRES-352: Billie payment method upgrade name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mandan2 committed Nov 7, 2023
1 parent f2dc601 commit c681b4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions upgrade/Upgrade-5.4.3.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ function updateOrderStatusNames543(Mollie $module)
foreach ($authorizablePaymentStatusShipped->name as $langId => $name) {
$authorizablePaymentStatusShipped->name[$langId] = 'Order payment shipped';
}
} else {
$authorizablePaymentStatusShipped->name = 'Order payment shipped';
}

$authorizablePaymentStatusShipped->save();
Expand All @@ -170,6 +172,8 @@ function updateOrderStatusNames543(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 c681b4f

Please sign in to comment.