Magento 2: Install and connect

What you need to do in advance

Install

  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

  1. Log in to your Mollie Dashboard.

  2. Go to Developers > API keys.

  3. Copy the 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 select Yes from the Enabled drop-down menu.

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

  9. Paste the test API key in its field.

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

  11. Save the changes.