my-appengineer Courses

Dunning: recovering failed payments

Retention and churnLesson18 min13 / 22

Some of your customers will leave without ever deciding to. Their card expires, their bank blocks a payment, their account is short on the day of renewal, or the bank asks for extra authentication that nobody completes. Unless you act, the subscription ends: involuntary churn. The process of recovering these payments is called dunning. It is unglamorous and usually the highest-return retention work you can do.

Why payments fail

Common reasons for failed subscription payments:

  • Expired or replaced card: the card on file is no longer valid.
  • Insufficient funds: the account cannot cover the charge on that day.
  • Bank decline: the issuer blocks the payment, sometimes for fraud rules, often without a clear reason.
  • Authentication required: in Europe, Strong Customer Authentication (SCA, from the PSD2 rules) can require the cardholder to confirm a payment. Recurring payments are usually exempt after the first authenticated one, but banks can still ask.
  • Payment method problems with direct debit: a closed account or a mandate the customer revoked.

Some failures fix themselves on a retry (insufficient funds at the start of the month, a temporary bank decline). Others need the customer to act (an expired card).

What it costs: the Bookwise calculation

Bookwise bills about 115 salons a month. Its payment failure rate on renewal is around 6%.

  • Failed renewals per month: 115 × 0.06 = 6.9, so about 7.
  • Average MRR per salon: €4,045 ÷ 115 = €35.17.
  • MRR at risk each month: 7 × €35.17 = €246.

Before Bookwise set up dunning properly, only about 30% of failed payments were eventually recovered (mostly customers who noticed themselves). After the setup below, about 65% are recovered.

RecoveredMRR lost per month
Before (30% recovered)€246 × 0.30 = €74€246 − €74 = €172
After (65% recovered)€246 × 0.65 = €160€246 − €160 = €86

That is €86 of MRR saved each month. Because each saved salon keeps paying, the effect stacks: after a year of saving around €86 a month, Bookwise has up to 12 × €86 = €1,032 more MRR than it would otherwise have had (somewhat less in reality, because some saved customers churn later for other reasons). No new marketing was needed.

The four parts of good dunning

1. Smart retries

Do not retry a failed payment once and give up, and do not hammer it every hour. Payment providers offer automatic retry schedules. Stripe Billing, for example, has Smart Retries, which pick retry moments based on patterns across many payments, within a retry window you set (for example up to 4 retries over 2 to 3 weeks). Check what your payment provider offers and switch it on.

Stripe documentation page on Smart Retries for failed subscription payments
Stripe's Smart Retries: automatic retry timing for failed renewals

2. Automatic card updates

Card networks offer updater services that pass on new card details when a bank replaces a card. Many payment providers apply these automatically for saved cards. Check whether yours does and for which card types.

3. Dunning emails and in-app messages

When a retry is not enough, the customer must act. Bookwise's sequence:

WhenMessageTone
7 days before card expiry"Your card ends this month. Update it in 1 minute: [link]"Helpful, pre-emptive
Day 0 (first failure)"Your payment of €39 didn't go through. Nothing changes yet; please update your card: [link]"Calm
Day 3Same, shorter, plus an in-app banner for the ownerFriendly reminder
Day 7"Your booking page stays online until [date]. Update your payment to keep it running."Clear about the consequence
Day 14"Last reminder: online booking stops on [date]."Firm, still polite
Day 21Subscription ends; data kept for 30 days, one-click restartDoor open

Every message links straight to a page where the customer can update the card without logging in again or searching (for example the customer portal of your payment provider). The in-app banner is only visible to the owner, not to the salon's staff and never on the public booking page.

Tip

Decide how long the product keeps working after a failed payment (the grace period) and write it down. Bookwise keeps everything working for 14 days. Switching off the booking page on day 1 punishes the salon's clients for a bank problem, and the salon will remember that.

4. Better payment methods for B2B

For business customers, consider offering SEPA Direct Debit (in the euro area) or invoices with bank transfer for annual plans, next to cards. Direct debits do not expire like cards, though they bring their own failure and refund rules. Check which methods your provider supports in your customers' countries.

Build it with the platform

  • In your payment provider's dashboard, switch on automatic retries, card updates and, if available, the provider's own failed-payment emails. Some providers can send these emails for you; that is often the fastest start.
  • In your app, ask the builder for: a payment_status on each account, updated from the payment provider's webhook events (failed, recovered, cancelled); an in-app banner for owners when the status is "past due"; and the grace period rule. Webhooks were set up in Building your SaaS on my-app.engineer.
  • Send your own dunning emails from your domain through the mailbox your app is connected to (see the lesson on lifecycle emails). Open Mail
  • Till gives you an overview of payments and your ledger for bookkeeping. Check in Till's capabilities which payment data it exposes for your venture before building reports on it. Open Till
Ask Claude
Use my my-app.engineer workspace. Read Till's capabilities first and tell me in plain language which operations could help me see failed or recovered subscription payments for [venture name]. Do not create, change or refund anything. Then list the payments of the last [30] days and give me: number of payments, number failed, and the failure rate as a percentage with the calculation. If Till does not expose failure data, say so and tell me where else I should look.
How it works in your country

Rules on payment collection, reminders and late-payment fees differ per country. In the EU, PSD2 sets Strong Customer Authentication requirements, and SEPA Direct Debit has fixed refund rights (for example 8 weeks for authorised debits under the core scheme). For B2B, the EU Late Payment Directive and national laws set statutory interest and fees. Examples to check: the Wet betalingstermijnen and handelsrente rules in the Netherlands, the Polish act on excessive delays in commercial transactions, the German BGB rules on Verzug, and the UK Late Payment of Commercial Debts Act. Check with your payment provider and your national authority before charging late fees.

Your task

Calculate your own MRR at risk from failed payments: invoices per month × failure rate × average MRR. Check which retry, card update and email features your payment provider has switched on, and write your dunning sequence with a fixed grace period. If you have no failure data yet, use 5% as a placeholder and replace it after your first two months.

This course is general information, not personal legal, tax or financial advice. Rules, amounts and dates change: check the official source for your country before you act.