-
Connect to your Magento 2 environment, for example using SSH↗.
-
Navigate to the root directory of your Magento 2 store and install Mollie for Magento 2:
composer require mollie/magento2
-
Activate the module:
php bin/magento module:enable Mollie_Payment
-
Optional: Verify whether the module installed properly:
php bin/magento module:status Mollie_Payment
-
Set up the module in your Magento 2 environment:
php bin/magento setup:upgrade
-
Clean the cache:
php bin/magento cache:clean
Tip
For more information on installing extensions, see the Magento installation guide↗.
-
Log in to your Mollie Dashboard.
-
Go to Developers > API keys.
-
Copy the API keys.
-
Log in to Magento 2.
-
Go to Stores > Configuration.
-
On the Configuration page, scroll to Mollie , select the arrow, and then General.
-
Expand the Version section, and select Yes from the Enabled drop-down menu.
-
Expand the API details section, and select Test from the Modus drop-down menu.
-
Paste the test API key in its field.
-
Click Test API key to ensure that your API key is correct.
-
Save the changes.