Mollie Plus plugin for Craft CMS, official version by WHITE Digital Agency
- This plugin requires Craft CMS 3.1.5 or later.
- This plugin requires Craft Commerce version 2.0 or later.
- A valid Mollie account is required. Don't have an account yet? Create a Mollie account.
- The Craft website should be publicly accessible.
- To configure the plugin, changing settings should be allowed in Craft (allow admin changes), and a user who is an Admin in Craft.
- This plugin is compatible with Composer 2.0.
To install Mollie Plus plugin for Craft CMS, follow these steps:
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require white-nl/commerce-mollie-plus
-
Install the plugin via the CLI:
./craft plugin/install commerce-mollie-plus
You can also install the Mollie Plus plugin using the Plugin Store in the Craft Control Panel. Go to Settings → Plugins and click the “Install” button for Commerce Mollie Plus.
You can change the payload that's been sent to Mollie by hooking into the event
use white\commerce\mollie\plus\gateways;
use white\commerce\mollie\plus\events\CreatePaymentRequestEvent;
Event::on(
Gateway::class,
Gateway::EVENT_CREATE_PAYMENT_REQUEST,
function (CreatePaymentRequestEvent $event)
{
$event->request['orderNumber'] = $event->transaction->order->id;
}
);
Mollie plus is a drop-in replacement1 for Pixel & Tonic’s Mollie for Commerce plugin. We advise to replace it by Mollie Plus. It will be a seamless transition, since they function similarly.
https://white.nl/en/craft-plugins/mollie/docs/
Mollie Plus for Craft CMS is brought to you by WHITE Digital Agency
Footnotes
-
The plugin will run completely independently from the Mollie plugin. You even can run both plugins at the same time. ↩