Mollie is a popular payment service provider offering a straightforward, efficient way to integrate various payment methods into your Magento 2 store.
Prerequisites
Before setting up Mollie, ensure you have a Mollie account and have gathered your API keys from the Mollie dashboard.
Installation and Configuration
- Install the Mollie Payment Module:
- You can install the Mollie module via Composer. Run the following command in your Magento 2 root directory:bashCopy code
composer require mollie/magento2
- After installation, run the Magento setup upgrade and deploy static view files commands to integrate Mollie into your Magento instance.
- You can install the Mollie module via Composer. Run the following command in your Magento 2 root directory:bashCopy code
- Configure Mollie in Magento 2:
- Navigate to Stores > Configuration > Sales > Payment Methods.
- Find the Mollie section. If the installation was successful, you’ll see various Mollie payment options listed.
- Click on General under Mollie Payments to enter your Live API Key and Test API Key obtained from your Mollie dashboard.
- Configure the general settings according to your preferences, including payment method title, sort order, and the specific countries where it should be available.
- Activate and Configure Specific Payment Methods:
- Within the Mollie section, you can individually enable and configure specific payment methods, such as iDEAL, Credit Card, or PayPal.
- For each payment method, set Enabled to
Yes
and customize the settings as needed, including custom titles and descriptions that will be visible to your customers during checkout.
- Save Your Configuration:
- After configuring the settings, click Save Config to apply the changes.
Testing and Going Live
- Use the Test API Key to test the payment methods in a sandbox environment to ensure everything works as expected.
- Once you’re satisfied with the setup, switch to the Live API Key to start accepting payments.