How it works
Dunning starts when Shopify can’t process a recurring billing attempt for a subscription or membership cycle. Checkout charges and one-off charges aren’t retried this way. While dunning is active, the charge page shows a Dunning active banner with the attempt count out of the maximum, the next scheduled retry, and a Retry now button. The banner also shows the reason the last payment failed, as Shopify reported it. A retry only runs when no payment is pending and the interval since the last failed attempt has passed. After the last retry fails, the dunning ends and the Payment collection failed Flow trigger fires. If the charge is canceled, its dunning is canceled too and no further attempts are made.Set up dunning
1
Open Risk settings
Go to Risk. The Dunning card is at the top.
2
Set the retries
Enter the Maximum retries and the Time between retries, and pick Days or Hours for the interval.
3
Save
Select Save in the save bar. The new schedule applies to dunning that starts from now on.
The failed charge email is turned on or off for the whole store under Emails. It can’t be changed per dunning record.
Retry a payment by hand
Select Retry now on the charge to create a billing attempt straight away instead of waiting for the next scheduled retry. The manual attempt skips the interval but still counts toward the maximum retries. See Retry a failed payment.Automate with Shopify Flow
The Payment collection failed trigger fires when dunning ends without collecting payment. Use it to notify your team, pause or cancel the subscription, or take another action when collection fails. Pair it with the Create payment attempt action to retry billing from inside a workflow, for example after a delay or once another system signals that the customer has updated their card. See Available actions and Create a workflow.Common error codes
To send the customer a link to update their card, see Update a customer’s card.