Shopware 6 App: Set up order management

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.

Automate workflows involving Mollie

Shopware 6 has a flow builder to automate your processes, which you can use in combination with the Mollie app. 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.

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

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.

Read more