Dunning management is the systematic process of recovering failed subscription or recurring payments through automated retries, customer communication, and payment method updates. It exists because a large share of subscription churn is not a cancellation at all: Recurly puts involuntary churn at roughly 20–40% of all subscription churn. It is a card that expired, a bank that flagged the charge, or an account that ran short on the day of the renewal. Dunning is what turns that silent revenue leak into a recovered customer.
If you run a subscription business on Shopify and you have not configured dunning, you are losing money this week. Recharge platform data shows about 7% of recurring charges fail on the first attempt, and Recurly reports that around 90% of the failed payments that do get recovered come back within the first 10 days. Speed and a sensible schedule matter more than anything else.
This guide explains the full dunning lifecycle, what Shopify's Subscription API does for you out of the box, what it does not do, and the small details that separate a sequence that recovers half your failures from one that recovers most of them.
Why dunning matters for subscriptions
The first time you ship a subscription product on Shopify, the dunning question feels theoretical. Then you watch your first billing cycle close and you see four or five failed renewals out of every hundred. None of those customers asked to cancel. They just stopped paying.
The industry term for that is involuntary churn. It is the share of cancellations that come from payment failures rather than customer choice. Recurly puts involuntary churn at roughly 20–40% of total subscription churn. Expired and replaced cards are among the most common causes, which is why an easy card update matters as much as the retries.
For the exact retry and email settings to start with, see our involuntary churn playbook.
The math gets ugly fast. Take an illustrative example with assumed numbers: a 1,000-subscriber store at $40 per month with 6% monthly churn loses $28,800 of annualized revenue every month. If a third of that churn is involuntary and your dunning sequence recovers 60% of failures, you save roughly $69,000 in annual recurring revenue. Same product, same customers, same acquisition spend. Just a better recovery flow.
That is the case for dunning in one paragraph. Now the lifecycle.
The dunning lifecycle
A dunning sequence is a state machine. A payment attempt fails, the subscription enters a recovery state, your system tries again on a schedule, customers get notified, and one of three things eventually happens: the payment succeeds, the customer updates their method, or you give up and cancel the contract.
Here is what each step looks like.
1. Failed payment detection
On Shopify, a subscription renewal runs as a billing attempt against a subscription contract. When the attempt fails, the contract surfaces an error code through the Shopify Subscription API. The codes you will see most often are:
- EXPIRED_PAYMENT_METHOD — the saved card has passed its expiration date.
- PAYMENT_METHOD_DECLINED — the issuer refused the charge (often soft, sometimes hard).
- INSUFFICIENT_FUNDS — the customer's account does not have the balance to cover the charge.
- INVALID_PAYMENT_METHOD — the card number on file is no longer valid (lost, stolen, replaced).
- AUTHENTICATION_ERROR — Strong Customer Authentication failed (mostly EU/UK 3DS challenges).
Detection is the easy part. Shopify hands you the billing attempt result. What you do next is the work.
2. Smart retry logic
The retry schedule is where most dunning sequences quietly fail. The instinct is to retry every day until the payment succeeds. That is wrong on two counts. It burns through your processor's allowed attempts (most card networks limit you to a small number of retries before flagging the merchant), and it ignores the underlying reason the payment failed.
The shape that recovers the most revenue:
- Day 0 or 1: an early retry catches failures caused by a temporary network or processor issue.
- Day 2: retry after 48 hours. This window catches insufficient-funds failures that resolve when a paycheck deposits.
- Day 5: retry mid-week. By now you have either recovered the payment or you are dealing with a real card problem.
- Day 7: final automated retry, paired with an urgent customer message.
- Day 9+: stop retrying. Hand the recovery off to the customer through a direct payment update link, or cancel if the customer has gone silent.
The reason this works better than a daily-retry pattern is that card issuers update their decision rarely. Retrying a hard decline three times in 24 hours produces three hard declines. Spacing retries out gives the underlying cause time to change.
3. Customer notification
The retry handles the technical side. The notification handles the human side. Most stores send too many emails, with the wrong tone, at the wrong moment.
A working sequence looks like this:
- First email (Day 0): informational. "We tried to renew your subscription and the payment did not go through. We will try again on [date]. If you want to update your card, here is the link."
- Second email (Day 3): helpful urgency. "Your subscription is paused while we try to recover the payment. Update your card here to keep delivery on schedule."
- Third email (Day 7): last chance. "This is the final retry. If we cannot process the payment by [date], your subscription will be cancelled."
- Optional SMS (Day 5): if you already run an SMS tool and have consent, a short text can help. SubzWallet sends email only, so this would come from a separate tool.
Keep every email under 100 words. The customer has one action to take. Do not bury it in a paragraph.
4. Payment method update flow
The single most important link in a dunning email is the one that takes the customer to a page where they can update their card without logging in. On Shopify, this is the customer account update flow surfaced through the storefront. If you make the customer log in first, find their subscription, click into payment settings, and update from there, many of them will give up before they get there.
The best practice: every dunning email carries one clear "update card" button that leads straight to a secure update screen, with as few steps as possible in between. On Shopify, the safe way to do this is Shopify's own payment update email, which sends the customer a secure link to replace the card on file.
5. Soft vs hard decline handling
Not all declines deserve the same treatment. A soft decline (insufficient funds, temporary issuer flag, generic processing error) is recoverable on retry. A hard decline (stolen card, account closed, card brand revoked) will never recover. Retrying a hard decline is wasted activity and risks getting flagged by the processor.
Payment processors document their decline codes, and they fall into three rough groups: soft declines that can recover on retry, expired cards that need a customer action, and hard declines where the customer needs to add a new payment method entirely. A good dunning system reads the decline code, picks the matching recovery path, and skips retries that have no chance of succeeding.
6. Final cancellation logic
At some point you give up. The question is how. Two patterns work:
- Pause and reactivate: after the final retry fails, move the subscription to a paused state instead of cancelled. Send a short email that explains how to update the card and restart. A paused subscription keeps the products, price and schedule, so coming back is one step instead of a new checkout.
- Cancel cleanly: end the contract, send a clear cancellation confirmation, and stop billing attempts. This is the right call for sensitive product categories where ongoing emails would feel intrusive.
Whichever path you pick, the last email should not be a guilt trip. The customer already had one bad experience.
Dunning on Shopify specifically
This is where the explainer meets reality. Shopify's Subscription API gives you the plumbing, not the recovery system.
What Shopify gives you natively:
- A billing attempts endpoint that runs payment attempts against subscription contracts.
- An error code on each failed attempt (the codes listed above).
- A contract state machine that moves a contract into a failed state when an attempt does not succeed.
- A storefront payment method update flow that customers can reach from their account.
- For Shopify Payments merchants, the Visa and Mastercard account updater services, which silently replace expired card numbers when the issuing bank participates.
What Shopify does not give you:
- A retry scheduler. Nothing in the platform automatically retries a failed attempt. Your app has to decide when to call the billing attempts endpoint again.
- Customer notifications tied to the failure. No emails go out unless your app sends them.
- Decline-code-aware logic. Shopify gives you the code; your app decides what to do with it.
- Multi-step sequences with branching. No native flow builder for "if card is declined, send email A; if hard decline, send email B and pause contract."
- SMS or multi-channel notifications.
This is why dunning is a feature checkbox on every Shopify subscription app review. Some apps give you a fixed retry schedule (three retries over a week, one email each). Some give you a configurable schedule. A smaller set give you a visual flow builder where you can branch on decline code, customer segment, or subscription value.
Be honest with yourself when you evaluate apps: a "supports dunning" line in a feature matrix can mean almost anything from "we retry once and email the customer" to "we read every Stripe decline code and run a different sequence per code."
Smart dunning vs basic retry logic
There is a clear line between the two.
Basic retry logic is a fixed schedule applied to every failure regardless of cause. Three retries over seven days, one email each, then cancel. It is far better than no dunning, but it leaves revenue on the table.
Smart dunning reads the failure context and adapts:
- A soft decline gets a fast retry. A hard decline skips the retry and asks the customer for a new method immediately.
- An insufficient-funds failure gets retried on a different day of the week (avoid the 1st of the month, when rent and bills hit; favour the 15th when paychecks land).
- An expired card gets a special email focused on updating the card, not on the failed charge.
- A high-LTV subscriber gets a longer recovery window and an optional incentive (loyalty points, small credit) to update their card.
- A first-time failure gets a soft message; a third-time failure gets escalated.
Recurly reports that smarter retry strategies add 10–20 percentage points of recovery over basic retries. That is the gap between a sequence that mostly works and one that quietly gives up recoverable revenue.
Customer experience considerations
Dunning sits at a delicate point in the customer relationship. The customer did not do anything wrong. Their card failed. If your sequence feels accusatory or spammy, you trade short-term recovery for long-term goodwill.
The principles that work:
- Lead with helpfulness. The first email is informational, not transactional. "Heads up, your renewal did not go through. We will try again on Tuesday."
- One CTA per email. Update your card. That is it. No upsells, no surveys, no "while you are here" content.
- Cap the touches. Three emails over a week is the right ceiling. A fourth email pushes into harassment territory.
- Stop on success. The moment a retry succeeds, the sequence ends. No "thanks for paying" email unless it is your normal renewal confirmation.
- Stop on cancellation. If the customer cancels, no further dunning emails go out. Ever. Poorly built sequences get this wrong surprisingly often.
- Tone matches the brand. A wellness brand sounds warm. A B2B SaaS sounds matter-of-fact. The recovery email is still a brand touchpoint.
Metrics to track
If you cannot measure your dunning, you cannot improve it. The four numbers that matter:
- Recovery rate: percentage of failed payments eventually recovered through retries or customer updates. Watch the trend month to month; a drop usually points to a schedule or email problem.
- Involuntary churn rate: subscriptions lost to payment failures as a share of active subscribers. Compare it to your voluntary churn to see which side needs work first.
- Average time to recovery: days between the first failure and the eventual success. Recurly reports around 90% of recovered payments come back within the first 10 days, so a long tail past that usually means customers are responding to the card update email rather than the automated retries.
- Customer reactivation rate: percentage of subscribers paused or cancelled after a failure who come back within 60-90 days.
Track these in a monthly cohort, not a single rolling number. The patterns only show up when you compare a January cohort to a March cohort.
Common dunning mistakes
A short list of the patterns stores most often get wrong:
- Retrying too fast. Three retries in 24 hours produces three declines. Space them out.
- Too many emails. Four or more notifications in a week feels like harassment. Three is the ceiling.
- Emails after cancellation. The customer cancelled. Stop talking.
- Hidden update link. If the customer has to log in, find the subscription, and navigate to payment settings, you lose half of them.
- Same sequence for every decline code. Hard declines and expired cards need different paths.
- No card updater service. Shopify Payments merchants get this automatically. If you process subscriptions through a third party that does not participate, switch.
- Cancelling instead of pausing by default. A paused subscription keeps everything in place for an easy restart. A cancelled one needs a brand-new checkout.
- No measurement. If you do not know your recovery rate, you do not know whether your sequence is working.
How SubzWallet handles dunning management
SubzWallet runs on Shopify's native subscription contracts, so saved cards stay in Shopify and every retry is a normal Shopify billing attempt. The app adds the parts Shopify leaves out: the retry schedule, the emails, the final action and a place to see who is stuck. Everything lives on one screen, Settings → Dunning, split into Payment Failures and Out-of-Stock Handling.
Setting up payment retries
- Open SubzWallet in Shopify admin and go to Settings → Dunning.
- Under Payment Failures, set Retry Attempts: the number of times to retry, from 0 to 10.
- Set Days Between Retries: the wait between attempts, from 1 to 14 days. Three or four retries a few days apart keeps most of the recovery inside the first 10 days.
- Choose what happens After All Retries Fail: Skip billing cycle, Pause subscription or Cancel subscription. Pause is the safest default for most stores because the customer can restart without a new checkout.
- Save, then check the Payment Failed email under Emails (staff can also get a Payment Failure Alert). Each template has its own on/off switch, uses your store branding and can be edited in the drag-and-drop block editor.
Out-of-stock renewals get their own settings in the same screen. An order that cannot be placed because a product is out of stock is not treated as a payment problem: you set separate retry attempts and spacing for inventory failures, a final action, and how often staff are notified (immediately, weekly or monthly).
Watching failed payments day to day
The Alert center in the SubzWallet sidebar lists every subscription that is failing or at risk, with the customer, the issue, the products blocking it (marked restock needed when stock is the cause), failures in the last 60 days and the next billing date. You can sort by urgency and act from the row. In the Subscription contracts list, the Payment failed tab shows subscriptions whose last charge was declined while retries are still running.
On a single subscription you can send the customer a payment-update email, and Shopify emails them a secure link to replace the card. Customers can also start a card update themselves from the customer portal. SubzWallet sends email, not SMS. To see how recovery is going over time, open Analytics → Dunning (Launch plan and up).
For the deeper how-to (retry schedules and email copy), see fix failed subscription payments on Shopify. Dunning is one half of churn; the other half is customers who choose to leave, covered in our guide to reduce customer churn.
See how SubzWallet handles this in practice: dunning management software for Shopify.
Frequently asked questions
What is dunning management?
Dunning management is the systematic process of recovering failed subscription or recurring payments through automated retries, customer notifications, and payment method updates. It is the operational layer that turns involuntary churn into recovered revenue.
What does the word "dunning" actually mean?
The verb "to dun" is a 17th-century English term meaning to repeatedly request payment of a debt. The modern subscription industry adopted it to describe the automated recovery sequence that runs when a recurring charge fails.
What is the difference between dunning and collections?
Dunning is automated, polite, and runs on a fixed schedule of retries and reminders for subscription renewals. Collections is the manual or outsourced pursuit of past-due balances, usually for one-time invoices and B2B accounts. Subscription stores almost never need true collections because the customer can simply walk away from the next renewal.
What percentage of failed payments can dunning recover?
It depends on your customers, card mix and schedule, so track your own recovery rate. As a benchmark, Recurly reports that smarter retry strategies add 10–20 percentage points of recovery over basic retries, and that around 90% of recovered payments come back within the first 10 days.
Does Shopify have dunning built in?
Shopify gives you the billing attempts API and the failure codes, but not the retry scheduler, email sequences, or branching logic. You need a subscription app for the actual dunning workflow. Shopify Payments does include automatic card updater services for Visa and Mastercard, which silently catches some expired-card failures.
How long should a dunning sequence run?
About seven to ten days from first failure to final retry. Recurly reports around 90% of recovered payments come back within the first 10 days, so retries beyond that add little, and extra emails start to feel spammy.
How many emails should a dunning sequence send?
Three is a sensible ceiling: a friendly notice, a reminder and a final notice. More touches per failure start to damage the customer relationship for little extra recovery.
Should I retry a failed payment immediately?
An early first retry is worth it, because some failures are temporary network or processor errors. Space later retries a few days apart so the underlying cause, such as low funds, has time to change.
What is involuntary churn?
Involuntary churn is the share of cancellations caused by payment failures rather than customer choice. Recurly puts it at roughly 20–40% of all subscription churn, and it is one of the most preventable revenue leaks in the subscription model.
Is dunning different for B2B subscriptions?
Yes. B2B subscriptions usually use ACH or invoice-based billing with longer payment terms, so the retry windows are measured in weeks rather than days, and the notifications often loop in an account manager rather than running fully automated.
What decline codes are recoverable on retry?
Soft declines (insufficient funds, temporary issuer flags, generic processing errors) are recoverable on retry. Hard declines (stolen, lost, closed, fraudulent) are not. Expired cards are recoverable only after the customer updates the card, so retries are wasted; the customer action is what matters.
Should I offer an incentive to recover failed payments?
Sometimes. A small incentive (loyalty points, modest credit) on the final dunning step can be worth testing for high-LTV subscribers. For low-margin or low-LTV subscribers, the incentive eats the margin you were trying to save. Segment before you incentivise.
Stop losing subscribers to failed payments
SubzWallet retries failed charges on a schedule, keeps out-of-stock orders owed instead of lost, and shows every at-risk subscription in one alert center.
Every paid plan comes with a dedicated developer and account manager for your shop.