Mollie Payments for WooCommerce - Version 2.4.1

Version Description

  • 10/10/2016 =
  • Fix 2.4.0 release (https://wordpress.org/support/topic/error-500-after-updating)
Download this release

Release Info

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

Code changes from version 2.4.0 to 2.4.1

assets/images/directdebit@2x.png ADDED
Binary file
assets/images/kbc.png ADDED
Binary file
assets/images/kbc@2x.png ADDED
Binary file
assets/images/podiumcadeaukaart@2x.png ADDED
Binary file
includes/mollie-api-php/examples/18-update-customer.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Example 18 - Updating an existing customer via the Mollie API.
4
+ */
5
+
6
+ try
7
+ {
8
+ /*
9
+ * Initialize the Mollie API library with your API key or OAuth access token.
10
+ */
11
+ include "initialize.php";
12
+
13
+ /*
14
+ * Retrieve an existing customer by his customerId
15
+ */
16
+ $customer = $mollie->customers->get("cst_zAQzfr3Raq");
17
+
18
+ /**
19
+ * Customer fields that can be updated.
20
+ *
21
+ * @See https://www.mollie.com/en/docs/reference/customers/update
22
+ */
23
+ $customer->name = "Luke Skywalker";
24
+ $customer->email = "luke@example.org";
25
+ $customer->locale = "en";
26
+ $customer->metadata->isJedi = TRUE;
27
+
28
+ $customer = $mollie->customers->update($customer);
29
+
30
+ echo "<p>Customer updated: " . htmlspecialchars($customer->name) . "</p>";
31
+ }
32
+ catch (Mollie_API_Exception $e)
33
+ {
34
+ echo "API call failed: " . htmlspecialchars($e->getMessage());
35
+ }
includes/mollie/wc/gateway/kbc.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mollie_WC_Gateway_Kbc extends Mollie_WC_Gateway_Abstract
3
+ {
4
+ /**
5
+ *
6
+ */
7
+ public function __construct ()
8
+ {
9
+ $this->supports = array(
10
+ 'products',
11
+ 'refunds',
12
+ );
13
+
14
+ parent::__construct();
15
+ }
16
+
17
+ /**
18
+ * @return string
19
+ */
20
+ public function getMollieMethodId ()
21
+ {
22
+ return Mollie_API_Object_Method::KBC;
23
+ }
24
+
25
+ /**
26
+ * @return string
27
+ */
28
+ public function getDefaultTitle ()
29
+ {
30
+ return __('KBC/CBC Payment Button', 'mollie-payments-for-woocommerce');
31
+ }
32
+
33
+ /**
34
+ * @return string
35
+ */
36
+ protected function getDefaultDescription ()
37
+ {
38
+ return '';
39
+ }
40
+ }
includes/mollie/wc/plugin.php CHANGED
@@ -6,7 +6,7 @@ class Mollie_WC_Plugin
6
  {
7
  const PLUGIN_ID = 'mollie-payments-for-woocommerce';
8
  const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
9
- const PLUGIN_VERSION = '2.4.0';
10
 
11
  /**
12
  * @var bool
6
  {
7
  const PLUGIN_ID = 'mollie-payments-for-woocommerce';
8
  const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
9
+ const PLUGIN_VERSION = '2.4.1';
10
 
11
  /**
12
  * @var bool
mollie-payments-for-woocommerce.php CHANGED
@@ -3,7 +3,7 @@
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.4.0
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
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.4.1
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: l.vangunst, daanvm, ndijkstra, robin-mollie
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.4.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -113,6 +113,9 @@ Automatic updates should work like a charm; as always though, ensure you backup
113
 
114
  == Changelog ==
115
 
 
 
 
116
  = 2.4.0 - 10/10/2016 =
117
  * Add KBC/CBC Payment Button method.
118
  * Add option to the iDEAL gateway to set the text for the empty option in the issuers drop down. Go to the iDEAL gateway settings to change this value.
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.4.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
113
 
114
  == Changelog ==
115
 
116
+ = 2.4.1 - 10/10/2016 =
117
+ * Fix 2.4.0 release (https://wordpress.org/support/topic/error-500-after-updating)
118
+
119
  = 2.4.0 - 10/10/2016 =
120
  * Add KBC/CBC Payment Button method.
121
  * Add option to the iDEAL gateway to set the text for the empty option in the issuers drop down. Go to the iDEAL gateway settings to change this value.