-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
First you need your own Mollie Account.
Go to Mollie to create your account.
There are 2 ways to install this plugin.
Either install via composer, or download a release, version or pre-release on GitHub and install it manually.
- Connect to your webserver via SSH and navigate to the base folder of your OXID eShop (where the composer.json is located)
- Install the plugin via the following command
composer require mollie/mollie-oxid
- Download a version from GitHub. Please use the attached ZIP files (mollie-oxid6-X.Y.Z.zip) from the list of available releases: GitHub Releases.
Please note, that only stable and official releases are tested on our side. There's no guarantee or warranty for pre-releases or selfmade versions from commits.
-
Create the folder "mollie" in the "source/modules" folder of the Oxid 6 installation.
-
Create the folder "molliepayment" in the new "source/modules/mollie" folder of the Oxid 6 installation.
-
Copy the content of the downloaded version in the newly created "molliepayment" folder.
-
In the composer.json file in the base folder of the shop add the autoload configuration or extend if already existing:
"autoload": { "psr-4": { "Mollie\\Payment\\": "./source/modules/mollie/molliepayment", "Mollie\\Api\\": "./source/modules/mollie/molliepayment/lib/mollie-api-php/src/" } },
-
Connect to the webserver with a console, navigate to the shop base folder and execute the following command to regenerate the autoloader files:
composer dump-autoload
-
In OXID versions from 6.2 on (older versions can skip this step) you must now import the module configuration. To do this, log in via SSH to the server on which the shop installation is located and navigate to the directory in which the source and vendor folders are located. Execute the following commands:
vendor/bin/oe-console oe:module:install-configuration source/modules/mollie/molliepayment/ vendor/bin/oe-console oe:module:apply-configuration
You should then receive the message
Module configuration has been installed
after the first command.
The second command lists all modules available in the shop including the message, that the configuration is applied.
Applying modules configuration for the shop with id 1:
Applying configuration for module with id molliepayment
It's time to configure your plugin to make it work in your shop.
The plugin will create OXID payment methods that can be used like any other payment methods.
To add these methods, just activate the module in then OXID Backend.
Please see our section on plugin configuration to get more out of the plugin and adjust it to fit your business.
Thank you for being a part of Mollie!
German Support: [email protected] | International Support: [email protected]