-
Notifications
You must be signed in to change notification settings - Fork 53
PHP & Mollie API v2
Starting with version 4.0 the Mollie Payments for WooCommerce plugin will require PHP 5.6. This is required for the new Mollie API v2, which supports multicurrency payments.
The biggest benefit to merchants it that API v2 fully supports multicurrency. You can create payments, subscriptions, and refunds in non-EUR currencies. Your account will still be settled in EUR, so new fields have been added in the API to reflect the settlement amount for various resources.
We expect to launch version 4.0 in June 2018.
Non-technical explanation: Mollie wants to be able to use new technologies which require PHP 5.6, to provide you, the merchant, with a more secure and stable payment service.
Version 4.0 of the plugin works with the Mollie API v2. The plugin uses the Mollie API PHP client to communicate with the Mollie API. The API PHP client requires the usage of PHP 5.6.
There are other reasons to update to at least PHP 5.6 (or better yet, PHP 7+): speed and security. Read this recommended article by Joost de Valk of the Yoast plugin: Whipping your hosting into shape and the WooCommerce documentation.
How PHP can be updated depends on your host. You can either ask your hoster to upgrade the PHP version on your account, or upgrade it yourself if you know how, and have enough privileges.
Email for your hoster, by Yoast.
Overview of popular hosts, by Yoast.
You will need to make sure your website supports this PHP version. The latest version of WordPress, WooCommerce and other WordPress plugins should run perfectly on a higher PHP version, but outdated plugins might have issues. Make sure that you review your website after updating the PHP version.
First of all, is there really a good reason why you can't upgrade? Should you consider moving to another host? If you really can't update PHP, select your situation below. You will basically keep using the 3.x version of the plugin. Do note: you will not have access to bug fixes or new features in the plugin or gt any of the benefits of the new Mollie API v2.
Do nothing! Do not update the Mollie Payments for WooCommerce plugin to version 4.0 until you can upgrade to at least PHP 5.6.
Download and install the old plugin version, 3.0.5 and keep using that until you can update to at least PHP 5.6. If you can not access your WordPress admin anymore, first, remove the Mollie plugin (information will not be lost) via FTP.
To remove Mollie Payments for WooCommerce via FTP:
- Login to FTP with your favourite FTP program
- Navigate to
wp-content/plugins
- Find and remove the folder
mollie-payments-for-woocommerce
To install the old version:
- Go to WordPress.org.
- Scroll down to "PREVIOUS VERSIONS", in the dropdown select 3.x and click "Download".
- Go to WordPress > Plugins > Add new > Upload plugin
- Select "Choose File" and select the ZIP archive you just downloaded on your computer
- Click "Install Now"
- Activate the plugin