Mollie Payments for WooCommerce - Version 2.3.1

Version Description

  • 14/09/2016 =
  • Turn on 'mail payment instructions' for Bank Transfer by default
  • Fix bug to support Polylang plugin
Download this release

Release Info

Developer l.vangunst
Plugin Icon wp plugin Mollie Payments for WooCommerce
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3.0 to 2.3.1

includes/mollie/wc/gateway/abstract.php CHANGED
@@ -982,7 +982,9 @@ abstract class Mollie_WC_Gateway_Abstract extends WC_Payment_Gateway
982
  // we probably have a multilang site. Retrieve current language.
983
  $slug = get_bloginfo('language');
984
  $pos = strpos($slug, '-');
985
- $slug = substr($slug, 0, $pos);
 
 
986
  $slug = '/' . $slug;
987
  }
988
 
982
  // we probably have a multilang site. Retrieve current language.
983
  $slug = get_bloginfo('language');
984
  $pos = strpos($slug, '-');
985
+ if ($pos !== false)
986
+ $slug = substr($slug, 0, $pos);
987
+
988
  $slug = '/' . $slug;
989
  }
990
 
includes/mollie/wc/gateway/banktransfer.php CHANGED
@@ -51,7 +51,7 @@ class Mollie_WC_Gateway_BankTransfer extends Mollie_WC_Gateway_Abstract
51
  /* translators: Placeholder 1: enabled or disabled */
52
  'label' => sprintf(__('Should Mollie automatically mail the payment instructions to the customer? Default <code>%s</code>', 'mollie-payments-for-woocommerce'), strtolower(__('Disabled', 'mollie-payments-for-woocommerce'))),
53
  'type' => 'checkbox',
54
- 'default' => 'no',
55
  'description' => __('If you disable this option the customer still has an option to send the payment instructions to an email address on the Mollie payment screen.', 'mollie-payments-for-woocommerce'),
56
  'desc_tip' => true,
57
  ),
51
  /* translators: Placeholder 1: enabled or disabled */
52
  'label' => sprintf(__('Should Mollie automatically mail the payment instructions to the customer? Default <code>%s</code>', 'mollie-payments-for-woocommerce'), strtolower(__('Disabled', 'mollie-payments-for-woocommerce'))),
53
  'type' => 'checkbox',
54
+ 'default' => 'yes',
55
  'description' => __('If you disable this option the customer still has an option to send the payment instructions to an email address on the Mollie payment screen.', 'mollie-payments-for-woocommerce'),
56
  'desc_tip' => true,
57
  ),
mollie-payments-for-woocommerce.php CHANGED
@@ -3,11 +3,11 @@
3
  * Plugin Name: Mollie Payments for WooCommerce
4
  * Plugin URI: https://github.com/mollie/WooCommerce
5
  * Description: Accept payments in WooCommerce with the official Mollie plugin
6
- * Version: 2.3.0
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
10
- * Tested up to: 4.5.3
11
  * Text Domain: mollie-payments-for-woocommerce
12
  * Domain Path: /i18n/languages/
13
  * License: GPLv2 or later
3
  * Plugin Name: Mollie Payments for WooCommerce
4
  * Plugin URI: https://github.com/mollie/WooCommerce
5
  * Description: Accept payments in WooCommerce with the official Mollie plugin
6
+ * Version: 2.3.1
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
10
+ * Tested up to: 4.6.1
11
  * Text Domain: mollie-payments-for-woocommerce
12
  * Domain Path: /i18n/languages/
13
  * License: GPLv2 or later
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: l.vangunst, daanvm, ndijkstra
3
  Tags: mollie, payments, woocommerce, e-commerce, webshop, psp, ideal, sofort, credit card, creditcard, visa, mastercard, mistercash, bancontact, bitcoin, paysafecard, direct debit, incasso, sepa, banktransfer, overboeking, betalingen
4
  Requires at least: 3.8
5
- Tested up to: 4.5.3
6
- Stable tag: 2.3.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -112,6 +112,10 @@ Automatic updates should work like a charm; as always though, ensure you backup
112
 
113
  == Changelog ==
114
 
 
 
 
 
115
  = 2.3.0 - 27/07/2016 =
116
  * Update payment method icons.
117
  * Send the refund description to Mollie. The refund description will be visible for your customer on their bank statement.
2
  Contributors: l.vangunst, daanvm, ndijkstra
3
  Tags: mollie, payments, woocommerce, e-commerce, webshop, psp, ideal, sofort, credit card, creditcard, visa, mastercard, mistercash, bancontact, bitcoin, paysafecard, direct debit, incasso, sepa, banktransfer, overboeking, betalingen
4
  Requires at least: 3.8
5
+ Tested up to: 4.6.1
6
+ Stable tag: 2.3.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
112
 
113
  == Changelog ==
114
 
115
+ = 2.3.1 - 14/09/2016 =
116
+ * Turn on 'mail payment instructions' for Bank Transfer by default
117
+ * Fix bug to support Polylang plugin
118
+
119
  = 2.3.0 - 27/07/2016 =
120
  * Update payment method icons.
121
  * Send the refund description to Mollie. The refund description will be visible for your customer on their bank statement.