Mollie Payments for WooCommerce - Version 4.0.0-beta7

Version Description

  • 12-07-2018 =

IMPORTANT Version 4.0 requires PHP 5.6 or higher. If you are using an older PHP version, please read this article: PHP & Mollie API v2.

  • Fix - Make sure getting the shop currency is also possible on WooCommerce 2.6 or older
  • Fix - Fix "Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'Closure' is not allowed' in " by adding try/catch blocks for serialize() for the rare cases where __sleep() isn't found in PHP
  • Fix - Check that a locale (language code) is supported by Mollie before trying to create a payment
  • Fix - "Couldn't create * payment", when other plugins (like WPML) use another locale format then the Mollie API (ISO 15897)
  • Fix - "Couldn't create * payment", temporarily disable sending the address details to Mollie for fraud detection, payments not allowed if one of the fields is missing
  • Fix - "Call to undefined function get_current_screen()" that can happen on some screens

  • New - Multicurrency support for WooCommerce added

  • New - New payment methods EPS and GiroPay added

  • New - Updated payment method logo's (better quality SVG's)

  • New - Updated Mollie API PHP to 2.0.6

  • New - Add support for failed regular payments (already had support for failed renewal payments)

  • New - In WooCommerce order edit view, add direct link to payment in Mollie Dashboard

  • New - Add notice to use bank transfer via Mollie, not default BACS gateway

  • New - Add support for new refunds and chargebacks processing (that are initiated in Mollie Dashboard)

Download this release

Release Info

Developer davdebcom
Plugin Icon wp plugin Mollie Payments for WooCommerce
Version 4.0.0-beta7
Comparing to
See all releases

Code changes from version 4.0.0-beta6 to 4.0.0-beta7

includes/mollie-api-php/.travis.yml DELETED
@@ -1,37 +0,0 @@
1
- language: php
2
- dist: trusty
3
- php:
4
- - 5.6
5
- - 7.0
6
- - 7.1
7
- - 7.2
8
- - nightly
9
- matrix:
10
- fast_finish: true
11
- allow_failures:
12
- - php: nightly
13
- sudo: false
14
- cache:
15
- directories:
16
- - "$HOME/.composer/cache"
17
- env:
18
- - COMPOSER_NO_INTERACTION=1
19
- install:
20
- - travis_retry composer install --no-scripts --no-suggest
21
- script:
22
- - composer validate --strict
23
- - find src examples tests -name '*.php' | xargs -n 1 -P4 php -l
24
- - vendor/bin/phpunit
25
- before_deploy:
26
- - sed -i "/const CLIENT_VERSION/c\\ const CLIENT_VERSION = '${TRAVIS_TAG:1}';" src/MollieApiClient.php
27
- - composer install --no-dev --no-scripts --no-suggest --classmap-authoritative
28
- - zip -r mollie-api-php.zip examples src vendor composer.json LICENSE README.md
29
- deploy:
30
- provider: releases
31
- api_key:
32
- secure: oXVzXjLkVfr7+5leMbIHQnLDg1o9/ldG6qdJ/GtwumZJYiit9h7VBYpxRvQGgXUESzhDlBf2jCLKxqxW+P2/PwG738/rSJVjLvbtbyFRz+pvk4o8rm3U7IKRv87BFhIvhaO9HcgvmyHbPMzGKRdAsWYWGQf/dg9N77xeDZ9++80=
33
- file: mollie-api-php.zip
34
- skip_cleanup: true
35
- on:
36
- tags: true
37
- php: 7.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/mollie/wc/gateway/abstractsubscription.php CHANGED
@@ -116,7 +116,7 @@ abstract class Mollie_WC_Gateway_AbstractSubscription extends Mollie_WC_Gateway_
116
  $data = array_filter(array(
117
  'amount' => array (
118
  'currency' => $this->getOrderCurrency( $order ),
119
- 'value' => Mollie_WC_Plugin::getDataHelper()->formatCurrencyValue($order->get_total(), $$this->getOrderCurrency( $order ))
120
  ),
121
  'description' => $payment_description,
122
  'redirectUrl' => $return_url,
116
  $data = array_filter(array(
117
  'amount' => array (
118
  'currency' => $this->getOrderCurrency( $order ),
119
+ 'value' => Mollie_WC_Plugin::getDataHelper()->formatCurrencyValue($order->get_total(), $this->getOrderCurrency( $order ))
120
  ),
121
  'description' => $payment_description,
122
  'redirectUrl' => $return_url,
includes/mollie/wc/plugin.php CHANGED
@@ -7,7 +7,7 @@ class Mollie_WC_Plugin
7
  {
8
  const PLUGIN_ID = 'mollie-payments-for-woocommerce';
9
  const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
10
- const PLUGIN_VERSION = '4.0.0-beta6';
11
 
12
  const DB_VERSION = '1.0';
13
  const DB_VERSION_PARAM_NAME = 'mollie-db-version';
7
  {
8
  const PLUGIN_ID = 'mollie-payments-for-woocommerce';
9
  const PLUGIN_TITLE = 'Mollie Payments for WooCommerce';
10
+ const PLUGIN_VERSION = '4.0.0-beta7';
11
 
12
  const DB_VERSION = '1.0';
13
  const DB_VERSION_PARAM_NAME = 'mollie-db-version';
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: 4.0.0-beta6
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://www.mollie.com
5
  * Description: Accept payments in WooCommerce with the official Mollie plugin
6
+ * Version: 4.0.0-beta7
7
  * Author: Mollie
8
  * Author URI: https://www.mollie.com
9
  * Requires at least: 3.8
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: daanvm, davdebcom, l.vangunst, ndijkstra, robin-mollie
3
  Tags: mollie, payments, woocommerce, payment gateway, e-commerce, credit card, ideal, sofort, bancontact, bitcoin, direct debit, subscriptions
4
  Requires at least: 3.8
5
  Tested up to: 4.9
6
- Stable tag: 4.0.0-beta6
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -169,7 +169,7 @@ Automatic updates should work like a charm; as always though, ensure you backup
169
 
170
  == Changelog ==
171
 
172
- = 4.0.0-beta6 - 11-07-2018 =
173
 
174
  IMPORTANT
175
  Version 4.0 requires PHP 5.6 or higher. If you are using an older PHP version, please read this article: [PHP & Mollie API v2](https://github.com/mollie/WooCommerce/wiki/PHP-&-Mollie-API-v2).
3
  Tags: mollie, payments, woocommerce, payment gateway, e-commerce, credit card, ideal, sofort, bancontact, bitcoin, direct debit, subscriptions
4
  Requires at least: 3.8
5
  Tested up to: 4.9
6
+ Stable tag: 4.0.0-beta7
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
169
 
170
  == Changelog ==
171
 
172
+ = 4.0.0-beta7 - 12-07-2018 =
173
 
174
  IMPORTANT
175
  Version 4.0 requires PHP 5.6 or higher. If you are using an older PHP version, please read this article: [PHP & Mollie API v2](https://github.com/mollie/WooCommerce/wiki/PHP-&-Mollie-API-v2).