Skip to content

Plugin configuration

marekrzytki edited this page May 18, 2022 · 1 revision

There are many things you can configure in this plugin. Here is a description about every single configuration option.

General

Please configure these settings to make sure the communication from and to Mollie works correctly.

Configuration Default Description
LIVE API-Key - This is the API key that is used when in production mode (testing mode disabled). You need this is you are in production mode, and also if you want to test Apple Pay Direct. You can use separate keys for each subshop if you'd like.
TEST API-Key - This is the API key that is used when testing mode is enabled. You need this if you are in testing mode.
Environment Test This enables or disables the testing mode. If Test (default), all payments will show (Mollie Test Mode) in your shop and will be done with the Mollie sandbox/testing environment. If Live your plugin is in production mode and real payments will be done.
Log Level Disabled Mollie will create a custom log file for your events and errors. Here you can set the minimum severity that should be logged. We recommend ERRORS, or even EVERYTHING. Set it as low as possible to get more insights. However, the lower it is, the more disk space is being used.
Test API keys button - This button is to be able to test Live end Test Mollie keys. Note that the live key must be saved on the database

Orders

These settings are related to orders and help you to configure your payment flow and how you want to treat orders.

Configuration Default Description
Payments API/ Order API - Mollie has two APIs for creating payments, the Payments API and the Orders API. Use Payments API to create only simple transactions in Mollie. With Orders API you will also get orders in Mollie with full details like line items and more in addition to these transactions. Klarna will always create orders. For partial refunds you need information on line item level in Mollie.
Order Expiration days - If the order want to be paid to this time, the order will be automatically cancelled
Refund - In admin panel You can do partial refund for the items and shipment, the refund will be created too in mollie dashboard
Partial ship - In admin panel You can do partial ship
Second change functionality Disabled Use this option to send a remainder email to the customer when the customer no paid for the order for some reasons

Country level restriction

These settings are help you to configure your payment flow and show payments depend on the country.

Configuration Default Description
All Countries Enabled Here you can allow to use payment method to all countries exclude from specific countries
Select Countries Disabled Here you can allow to use payment method only to selected countries

Payment fee

These settings are help you to configure your order fee and show this amount on the order bill on sylius checkout.

Configuration Default Description
Type No fee The payment fee was disabled
Percentage Disabled This option can add percentage amount to You order. The surcharge limit is maximum limit of the percentage value of the order
Fixed Fee Disabled This option can add static amount to You order
Fixed Fee and Percentage Disabled This option can add static amount to You order and percentage. The surcharge limit is maximum limit of the percentage value of the order

Mails

Configuration Default Description
Send payment status mail - Sylius can send send status e-mails for every change in payments.
Send refund status mail - Sylius can send an e-mail when the payment is refunded.
Second changes email - Sylius can send an e-mail when generated payment link to the customer on admin panel in order view.

Payment Methods

Credit Card

Configuration Default Description
Enable Components Enabled Here you can enable/disabled Mollie's credit card components, which enables a form in the checkout where a customer can fill out it's credit card details right in the checkout payment process. Read more about the credit card components here: https://docs.mollie.com/guides/mollie-components/overview
Single Click Payments Disabled Use this option to save You credit cart data to future usage

Vouchers

Configuration Default Description
Default category - Here you can add default category of all your product in Sylius shop. If this option was disabled You can set category on the product configuration page
Clone this wiki locally