Magento 2: Install and connect Mollie for Magento 2

What you need to do in advance

  • Create a Mollie account

  • Install Composer↗ on your server.

    To check whether you have Composer already, enter composer -v in the terminal.

  • Make sure that you use Magento 2 version 2.3.3 or higher.

Install Mollie for Magento 2

  1. Connect to your Magento 2 environment, for example using SSH↗.

  2. Navigate to the root directory of your Magento 2 store and install Mollie for Magento 2:

    composer require mollie/magento2
  3. Activate the module:

    php bin/magento module:enable Mollie_Payment
    
  4. Optional: Verify whether the module installed properly:

    php bin/magento module:status Mollie_Payment
  5. Set up the module in your Magento 2 environment:

    php bin/magento setup:upgrade
  6. Clean the cache:

    php bin/magento cache:clean

Tip

For more information on installing extensions, see the Magento installation guide↗.

Connect to Mollie

  1. Log in to your Mollie Dashboard.

  2. Go to Developers > API keys.

  3. Copy your API keys.

  4. Log in to Magento 2.

  5. Go to Stores > Configuration.

  6. On the Configuration page, scroll to Mollie, select the arrow, and then General.

  7. Expand the Version section, and in the Enabled drop-down, select Yes.

  8. Expand the API details section, and in the Modus drop-down, select Test.

  9. Paste the test API key in its field.

  10. Click Test API key to ensure that your API key is correct.

  11. Select Save config.