Magento 2: Set up subscriptions
Understand and set up subscriptions.
Understand subscriptions
Explore how Mollie supports recurring payments for regular billing.
Tip
- Minimize chargeback risk by clearly communicating the charge amount and frequency to your customers.
- Ensure customer awareness by sending advance notifications before each payment, for example via email.
Mollie subscriptions module
Mollie supports subscriptions through a dedicated Mollie module that you must install separately to enable subscription features.
Supported payment methods
Customers who buy a subscription from your shop must use a supported payment method to make their initial payment. This authorises future subscription payments as well.
- Credit/Debit cards: If your customer initially pays with a credit/debit card, all subsequent payments will be by credit/debit card as well.
- Other payment methods: If your customer initially pays with any other payment method, all subsequent payments will be by SEPA Direct Debit.
Your customers can use these payment methods for the initial subscription payment:
- Bancontact
- Belfius pay button
- Credit/debit cards
- EPS
- Giropay
- iDEAL
- KBC payment button
- MyBank
- PayPal
- SOFORT bank transfer
Set up subscriptions
In Magento 2, you need to install a special module to use Mollie subscription features:
- Connect to your Magento 2 environment, for example using SSH↗.
- Navigate to the root directory of your Magento 2 store in the terminal, and install Mollie Subscriptions:
composer require mollie/magento2-subscriptions
- Activate the module:
php bin/magento module:enable Mollie_Subscriptions
- Deploy the content in your Magento 2 environment, and clean the cache:
php bin/magento setup:upgrade php bin/magento cache:flush
Enable subscriptions
After installation, you need to enable subscriptions to offer them in your shop:
- Log in to Magento 2.
- Go to Stores > Configuration.
- Expand the Mollie section in the left sidebar, and select Subscriptions.
- In the General section, select Yes from the Enabled drop-down menu.
- Select a shipping method from the Shipping method drop-down menu.
- Save the changes.
Enable subscription emails
You can send emails to your admins and customers on various subscription-related events, such as pre-payment reminders, cancellation notifications, and errors.
- Log in to Magento 2.
- Go to Stores > Configuration.
- Expand the Mollie section in the left sidebar, and select Subscriptions.
- Select Yes from the drop-down menu of the email option that you want to enable.
- Save the changes.
Customize subscription emails
Mollie for Magento 2 provides various default templates for subscription-related emails to your admins and customers, such as pre-payment reminders, cancellation notifications, and errors.
To customise a template, follow these steps:
- Log in to Magento 2.
- Customise the default email template:
- Go to Marketing > Email templates and select Add new template.
- Open the Template drop-down menu, scroll tom its Mollie Subscriptions section, and select the relevant subscription email option.
- Give the new template a name, and edit the template content and styling↗ as required.
- Save the template.
- Enable the email template:
- Log in to Magento 2.
- Go to Stores > Configuration.
- Expand the Mollie section in the left sidebar, and select Subscriptions.
- If you haven't already enabled the relevant subscription email option, do so by selecting Yes from the relevant drop-down menu.
- Select your template's name from the drop-down menu that appears when you enable the subscription email option.
- Save the changes.
Create subscription products
- Log in to Magento 2.
- Select Catalog > Products.
- On the Products page, click the product.
- On the product details page, scroll to Mollie and expand the section.
- Switch on the Is this a subscription product? toggle.
- Configure the subscription in the Subscription configuration pane.
- Select Save.
Updated 6 months ago