Sylius: Set up order management
Select an API method
Select the appropriate API method for your payment processing goals: Mollie's Payments API for simple payments or its Orders API for detailed orders.
You can set a default API method, or one for each individual payment method.
Note
- Individual settings override the default setting.
- You cannot select an API method either as a default or individually for these payment methods, which only use the Orders API:
- Billie
- Klarna
- iDEAL in3
- Vouchers
Select the default API method
- Log in to Sylius.
- Go to Configuration > Payment methods.
- Select Edit in the Actions column of the Mollie gateway.
- Select the payment method and API method.
- Save the changes.
Change the order expiry period
Customize the order expiry period as needed, for example, to allow customers more time to pay for their orders.
Note
- By default, customers have 28 days to pay for their orders.
- Ensure that the Orders API is selected.
To change it, follow the following instructions:
- Log in to Sylius.
- Go to Configuration > Payment methods.
- Select Edit in the Actions column of the Mollie gateway.
- Select the payment method.
- Select the expiry period (1-100 days) from the Order expiration days drop-down menu.
- Save the changes.
Customize payment descriptions
Include order details such as order number and customer name in the payment descriptions that appear in your Mollie Dashboard.
All payments are listed on the Payments page of your Mollie Dashboard. A payment's description is displayed in its Details column. It can also appear on your customers' bank statements depending on the payment method used and the customer's bank.
By default, the payment description includes the Sylius, Sylius order ID,Mollie order status, API method used, and refund status.
Note
You can only change the payment description for payment methods that use the Payments API.
You can combine free text and the following variables:
{ordernumber}
{storename}
To change the payment description, follow these steps:
- Log in to Sylius.
- Go to Configuration > Payment methods.
- Select Edit in the Actions column of the Mollie gateway.
- Select the payment method.
- In the description field, combine free text and variables to create a description.
- Save the changes.
Example
To render 'The customer bought order #123456 at MegaProducts.com', combine the following text and variables:
The customer bought order #{ordernumber} at {storename}.
Customize emails
Customize the content and styling of emails that you send as payment requests or second-chance emails.
-
Log in to Sylius.
-
Go to the Mollie section of the side navigation bar.
-
Select Email template.
-
Select Create.
-
Select the email template type from the Type drop-down menu:
Option Description Payment link The email template is used when creating payment requests Payment link abandoned The email template is used when creating second-chance emails -
Enter CSS commands into the Style CSS field to style the template.
Note
Your CSS selectors target the HTML elements and class attributes that you specify in the Content field.
- For each relevant language, enter the following details:
Field | Description |
---|---|
Name | An identifier for your own administration |
Subject | The subject of the email |
Content | The body of the email, formatted using HTML |
- Select Create.
Set up second-chance emails
Recover potentially lost sales by automatically sending second-chance emails that include a payment link to re-engage customers who didn't complete a purchase.
- Log in to Sylius.
- Go to Configuration > Payment methods.
- Switch on the Enable second-chance functionality toggle.
- Optional: Change the email sending delay after cart abandonment by selecting a duration (1-200 hours) from the drop-down menu under the toggle.
- Select Save changes.
Updated 6 months ago