Shopware 6 Plugin: Set up order management

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 Shopware 6, Shopware 6 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}
  • {customernumber}

To change the payment description, follow these steps:

  1. Log in to Shopware 6.
  2. Go to Extensions > My extensions.
  3. Open the Mollie Payments context menu (three dots), and select Configure.
  4. Scroll to the Payments panel.
  5. Combine free text and the variables in the Custom format for Mollie order numbers field to create a description.

📘

Example

To render 'Customer ID ABC1234 bought order #123456', combine the following text and variables:
Customer ID {customernumber} bought order #{ordernumber}

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.

The order expiry period only applies for the following payment methods if you are using the Orders API:

  • iDEAL in3
  • Klarna
  • Vouchers
  1. Log in to Shopware 6.
  2. Go to Extensions > My extensions.
  3. Open the Mollie Payments context menu (three dots), and select Configure.
  4. Scroll to the Order management panel and enter a number of days in the Order lifetime days field.
  5. Save the changes.

Set up the refund manager

Mollie Plugin for Shopware 6 comes with a refund manager that you can use to create refunds for an order amount, item, or both. The refund manager and its settings are enabled by default when you set up the plugin.

Change the refund manager settings

The refund manager comes with a number of features that are enabled by default:

  • Automatically include stock-reset: calculates the amount of items to restock based on the refund items and pre-fills the setting.
  • Verify refunds: adds a final verification checkbox that admins must select to confirm the refund.
  • Show instructions: displays instructions in the refund manager to help first-time users.

You can select which features you want to use to meet your needs.

  1. Log in to Shopware 6.
  2. Go to Extensions > My extensions.
  3. Open the Mollie Payments context menu (three dots), and select Configure.
  4. Go to Refund manager and toggle the features that you want to use.

📘

Note

To switch off Refund manager, go to Refund manager and switch off the Enable refund manager toggle.

  1. Save the changes.

Automate workflows involving Mollie

Shopware 6 has a flow builder to automate your processes, which you can use in combination with the Mollie plugin. This guide contains a number of use cases that you can use as examples.

What you need to do in advance

  • To use the Shopware 6 flow builder in combination with the Mollie app, ensure you're using Shopware 6 version 6.4.6.0 or later.
  • The flow builder enables you to set up advanced automated workflows to meet your needs. Ensure that you understand how Mollie works together with the flow builder↗ before creating automations.
  • To avoid duplicate actions that result in unexpected flows, switch off settings in the Mollie app that can conflict with an automation. For example, if you use a flow that automatically marks orders as shipped, switch off automatic shipping notification.

Ship orders automatically

If customers pay with Klarna payment methods, Mollie can only settle the payment after the order is shipped.

You can create a flow that automatically notifies Mollie when orders are shipped, so that the payment is settled on your Mollie account.

📘

Note

You can also enable automatic shipping in the Mollie configuration settings under Extensions > My extensions > [select Configure in the options menu] > Order Management, for example if your sales volume does not make it worthwhile to set up Flow Builder.

  1. Log in to Shopware 6.
  2. Go to Settings > Flow builder.
  3. Select Add flow.
  4. Fill out the General information form:
    • Enter a descriptive name for the flow, for example, Automatic shipping.
    • Optional: Enter a description.
    • Optional: Assign a priority↗.
    • Switch on the Active toggle.
  5. Go to the Flow tab to create the automated action:
    • Select State enter > Order delivery > State > Shipped from the Trigger drop-down menu.
    • Open Add action (then) and select Ship order (Mollie).
    • In the notification, select Save.
  6. To create the flow, select Save.

Tag Mollie webhooks

You can create a flow that helps you to understand whether your shop successfully receives Mollie webhooks. This is useful when troubleshooting, to understand whether payments are processing properly.

  1. Log in to Shopware 6.
  2. Go to Settings > Flow builder.
  3. Select Add flow.
  4. Fill out the General information form:
    • Enter a descriptive name for the flow, for example, Tag Mollie webhooks.
  5. Optional: Enter a description.
  6. Optional: Assign a priority↗.
  7. Switch on the Active toggle.
  8. Go to the Flow tab to create the automated action:
    • Select Mollie > Webhook received > All from the Trigger drop-down menu.
    • Open Add action (then) and select Add tag.
    • Enter a tag, such as mollie_webhook_received, or select an existing tag and click Save action.
  9. To create the flow, select Save.

Send emails for chargebacks

All Mollie statuses can have a corresponding trigger. This means that you can set up a flow that sends you an email when your shop receives a chargeback.

  1. Log in to Shopware 6.
  2. Go to Settings > Flow builder.
  3. Select Add flow.
  4. Fill out the General information form:
    • Enter a descriptive name for the flow, for example, Chargeback notification.
  5. Optional: Enter a description.
  6. Optional: Assign a priority↗.
  7. Switch on the Active toggle.
  8. Go to the Flow tab to create the automated action:
    • Select Mollie > Webhook received > Status > Chargeback from the Trigger drop-down menu.
    • Open Add action (then) and select Send email.
    • Select a recipient, email template, and attached documents, and select Add action.
  9. To create the flow, select Save.

Give full refunds automatically

Mollie Plugin for Shopware 6 comes with a refund manager that you can use to issue your customers a full or partial refund. Using the flow builder, you can automate full refunds based on certain conditions.

  1. Log in to Shopware 6.
  2. Go to Settings > Flow builder.
  3. Select Add flow.
  4. Fill out the General information form:
    • Enter a descriptive name for the flow, for example, Automatic full refund.
  5. Optional: Enter a description.
  6. Optional: Assign a priority↗.
  7. Switch on the Active toggle.
  8. Go to the Flow tab to create the automated action:
    • Select State enter > Order transaction > State > Refunded from the Trigger drop-down menu.
    • Optional: Select Add condition (if) to further refine the trigger. For example, to only automate full refunds for orders under a certain amount.
    • Select Add action (then) and then Refund order (Mollie).
    • In the notification, select Save.
  9. To create the flow, select Save.

Send subscription reminders

Mollie Plugin for Shopware 6 lets you set up subscriptions using Shopware 6 Flow Builder. In Flow Builder, you can create triggers to send subscription reminders automatically.

  • Started: Triggers a flow as soon as a subscription starts.
  • Renewal reminder: Triggers a flow based on the reminder period setting in the plugin.
  • Cancelled: Triggers a flow when a customer cancels their subscription.
  • Ended: Triggers a flow when the last instalment of a subscription took place, based on the cadence defined in the subscription product.

You can use the Renewal reminder trigger to automatically send customers a reminder about their upcoming subscription payment.

  1. Log in to Shopware 6.
  2. Go to Settings > Flow builder.
  3. Select Add flow.
  4. Fill out the General information form:
    • Enter a descriptive name for the flow, for example, Subscription reminder email.
  5. Optional: Enter a description.
  6. Optional: Assign a priority↗.
  7. Switch on the Active toggle.
  8. Go to the Flow tab to create the automated action:
    • Select Mollie > Subscription > Renewal reminder from the Trigger drop-down menu.
    • Open Add action (then) and select Send email.
    • Select a recipient, email template, and attached documents, and select Add action.
  9. To create the flow, select Save.

Notify Mollie automatically of order cancellation

By default, Mollie Plugin for Shopware 6 automatically notifies Mollie whenever an order is cancelled in Shopware 6. You can switch off this default behaviour.

📘

Note

Mollie is only notified when orders with the following statuses are cancelled:

  • Created
  • Authorized
  • Shipping - only unshipped items are cancelled.

To switch off automatic order cancellation, follow these steps:

  1. Log in to Shopware 6.
  2. Go to Extensions > My extensions.
  3. Open the Mollie Payments context menu (three dots), and select Configure.
  4. Scroll down to the Order management panel, and switch off the Automatic cancellation toggle.
  5. Save the changes.