WooCommerce use case

Give customers a next step when a WooCommerce order fails

Send an email that explains what happened and how to get help. Use the order number so customers can reach out without retyping the details.

After an order fails, an example email explains the issue and tells the customer how to ask for help.

When the order reaches Failed, tell the customer what they can do

WooCommerce marks the order as Failed. ShopMagic sends the buyer a short message tied to that order, with instructions that fit the payment methods your store offers.

Subject: There was a problem with order #{{ order.order_number }}

We couldn’t complete this order. Reply with your order number if you need help deciding whether to try again.

What you’ll need

  • WooCommerce and ShopMagic, with an email for the order’s billing contact.

  • A verified next step that works with your payment gateway, such as reaching your team or retrying via a working order link.

Set up the automation in ShopMagic

  • 1

    Select the failed-order event

    Create a ShopMagic automation with Order Failed. Review the email notifications already enabled for this status.

  • 2

    Write the message for this failed order

    Add Send Email to {{ order.billing_email }}. Include {{ order.order_number }} and give customers a support contact or another next step your store has verified.

  • 3

    Test the actual recovery route

    On a test store, produce a Failed order via a supported test payment or status change. Confirm that the message arrives and any chosen link or instruction works for that order. Check what other notifications arrive.

Use instructions that fit your checkout

  • If the gateway lets the customer pay the same failed order, test the payment link before adding it to your message.

  • If a retry path varies by gateway, write separate instructions using an available payment-method filter.

Questions about this workflow

The automation sends instructions. The customer’s next payment attempt follows the process supported by your store and gateway.

This workflow uses Order Failed. A cancellation is a different status and can have its own message.