Version Description
14-09-2022 =
Fix - Warning stops transaction when debugging on production
Download this release
Release Info
| Developer | carmen222 |
| Plugin | |
| Version | 7.3.2 |
| Comparing to | |
| See all releases | |
Code changes from version 7.3.1 to 7.3.2
mollie-payments-for-woocommerce.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: Mollie Payments for WooCommerce
|
| 4 |
* Plugin URI: https://www.mollie.com
|
| 5 |
* Description: Accept payments in WooCommerce with the official Mollie plugin
|
| 6 |
-
* Version: 7.3.
|
| 7 |
* Author: Mollie
|
| 8 |
* Author URI: https://www.mollie.com
|
| 9 |
* Requires at least: 5.0
|
| 3 |
* Plugin Name: Mollie Payments for WooCommerce
|
| 4 |
* Plugin URI: https://www.mollie.com
|
| 5 |
* Description: Accept payments in WooCommerce with the official Mollie plugin
|
| 6 |
+
* Version: 7.3.2
|
| 7 |
* Author: Mollie
|
| 8 |
* Author URI: https://www.mollie.com
|
| 9 |
* Requires at least: 5.0
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: daanvm, danielhuesken, davdebcom, dinamiko, inpsyde, l.vangunst, n
|
|
| 3 |
Tags: mollie, payments, payment gateway, woocommerce, credit card, ideal, bancontact, klarna, sofort, giropay, woocommerce subscriptions
|
| 4 |
Requires at least: 3.8
|
| 5 |
Tested up to: 6.0
|
| 6 |
-
Stable tag: 7.3.
|
| 7 |
Requires PHP: 7.2
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
@@ -185,6 +185,10 @@ Automatic updates should work like a charm; as always though, ensure you backup
|
|
| 185 |
|
| 186 |
== Changelog ==
|
| 187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
= 7.3.1 - 13-09-2022 =
|
| 189 |
|
| 190 |
* Fix - When refunding from Mollie profile order notes and status not updated
|
| 3 |
Tags: mollie, payments, payment gateway, woocommerce, credit card, ideal, bancontact, klarna, sofort, giropay, woocommerce subscriptions
|
| 4 |
Requires at least: 3.8
|
| 5 |
Tested up to: 6.0
|
| 6 |
+
Stable tag: 7.3.2
|
| 7 |
Requires PHP: 7.2
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 185 |
|
| 186 |
== Changelog ==
|
| 187 |
|
| 188 |
+
= 7.3.2 - 14-09-2022 =
|
| 189 |
+
|
| 190 |
+
* Fix - Warning stops transaction when debugging on production
|
| 191 |
+
|
| 192 |
= 7.3.1 - 13-09-2022 =
|
| 193 |
|
| 194 |
* Fix - When refunding from Mollie profile order notes and status not updated
|
src/Gateway/Voucher/VoucherModule.php
CHANGED
|
@@ -39,14 +39,14 @@ class VoucherModule implements ExecutableModule, ServiceModule
|
|
| 39 |
public function services(): array
|
| 40 |
{
|
| 41 |
return [
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
];
|
| 51 |
}
|
| 52 |
|
| 39 |
public function services(): array
|
| 40 |
{
|
| 41 |
return [
|
| 42 |
+
'voucher.defaultCategory' => function (ContainerInterface $container): string {
|
| 43 |
+
$paymentMethods = $container->get('gateway.paymentMethods');
|
| 44 |
+
$voucher = isset($paymentMethods['voucher']) ? $paymentMethods['voucher'] : false;
|
| 45 |
+
if ($voucher) {
|
| 46 |
+
return $voucher->voucherDefaultCategory();
|
| 47 |
+
}
|
| 48 |
+
return Voucher::NO_CATEGORY;
|
| 49 |
+
}
|
| 50 |
];
|
| 51 |
}
|
| 52 |
|
