A subscription renewal failed on Dodo Payments. The customer did not cancel. Their card just did not go through, and the subscription now reads on_hold. What happens next depends on settings most merchants never open, because every recovery feature Dodo has starts switched off.
This guide covers what Dodo does with a failed renewal, how to read the decline, the four ways to get the money back, and the quirks we ran into while building recovery on Dodo's API.
What happens when a Dodo renewal fails
Dodo moves the subscription into one of three states, depending on which payment failed and whether you set a grace period. From the subscription docs:
| Status | When you see it | Customer access |
|---|---|---|
| past_due | A renewal failed and you have a grace period turned on | Keeps full access until the grace period ends |
| on_hold | A renewal or plan-change charge failed, or a grace period ran out unpaid | Revoked, and renewals stop |
| failed | The first payment, when the subscription was created, did not go through | Never started. This state is terminal |
The grace period is off by default, and it lives under Settings, Subscriptions, not under Recovery where the other tools are. Without it, a failed renewal "goes straight to on_hold", so a customer whose account is short for two days loses access the minute the bank says no. Once enabled, the window runs from 1 to 30 days (3 by default), and you choose whether the subscription goes to on_hold or gets cancelled when it ends.
on_hold is not a cancellation. The subscription waits there. If nobody retries the charge or gets a new card from the customer, it keeps waiting, and the revenue is gone without ever showing up in your cancellation numbers.
Read the decline before you do anything
Each failed payment carries an error_code, visible on the payment in your dashboard and in the payment.failed webhook. Dodo sorts the codes into two groups, and the group tells you which recovery path can work:
| Type | Common codes | What works |
|---|---|---|
| Soft decline | INSUFFICIENT_FUNDS, DO_NOT_HONOR, TRANSACTION_NOT_ALLOWED, PROCESSING_ERROR, NETWORK_ERROR, TRY_AGAIN_LATER | Charging the same card again a day or a few days later |
| Hard decline | STOLEN_CARD, LOST_CARD, PICKUP_CARD, FRAUDULENT, TRANSACTION_NOT_APPROVED, INVALID_ACCOUNT | Only a new card from the customer |
A failure that arrives with no error code at all is treated as a hard decline. The error_message on the payment is written for you, not for the customer, so keep it out of your emails. If you know Stripe's codes, the categories line up; our decline codes guide goes through them one by one.
1. Let Dodo retry the card
Payment Retries is Dodo's automatic retry engine. Turn it on under Settings, Recovery. It retries renewals only, skips hard declines, and runs in the background without telling the customer anything. The Standard schedule makes up to eight attempts, but the default 13 day window only fits the first five. The full schedule, and what changes when you widen the window, is in our Dodo Payments dunning breakdown.
Retries are the cheapest fix for insufficient funds and bank hiccups. For a stolen or closed card they do nothing, and those are the customers who most need to hear from you.
2. Email the customer with Dodo's dunning
Subscription Dunning sends up to four emails, by default 1, 3, 5 and 7 days after dunning starts, each with a button to the Customer Portal where the customer can update their card. You can edit the subject, the body text and the reply-to address; the layout is Dodo's. It runs alongside Payment Retries, and whichever one gets the renewal paid first stops the other.
Dunning is also off until you turn it on. Both features are free to enable, and Dodo takes 5% of the revenue they recover.
3. Retry it yourself
Dodo also has a manual retry, from the dashboard or through the API (POST /payments/{payment_id}/retry, which needs write access to Payments). It helps when you know the customer just topped up their account, but the rules are strict:
- Three manual retries per renewal invoice. The second opens 1 hour after the first, the third 3 hours after the second.
- The subscription has to be on_hold. A past_due subscription inside a grace period is not eligible.
- The most recent failure must be a soft decline, and the subscription needs a saved payment method.
- If Payment Retries are on, the Retry Payment button in the Customer Portal draws from the same three.
4. Get a new card from the customer
For hard declines, and for soft ones that keep failing, the money comes back when the customer puts in a different card. On an on_hold subscription, Dodo's update payment method flow does it in one step: it charges the overdue amount to the new card, creates the invoice and moves the subscription back to active. In our tests the hosted page the customer lands on reads "Pay pending dues" with the amount, which is clearer than a bare card form.
The customer can get there from the Customer Portal, from Dodo's dunning emails, or from a link you send yourself: the API call returns a payment_link to redirect them to. If the new card is declined too, the subscription stays on_hold and you are back to the start.
On Dodo, paying the overdue amount and switching the card happen on the same hosted page.
What about a first payment that fails?
If the very first charge fails, the subscription goes to failed, which is terminal. Dodo never retries it and dunning does not cover it. Nobody was ever a paying customer, so treat it as a checkout that did not finish, not as churn, and keep it out of your recovery numbers. Dodo's separate Abandoned Cart Recovery is the tool aimed at unfinished checkouts.
If you build recovery on Dodo's webhooks
We built Rebounce's Dodo integration against a real Dodo test account, failing renewals on purpose with Dodo's decline test card. The docs cover the normal path well. These are the things we only learned by watching the events arrive:
- Every attempt is a new payment. Each retry of the same renewal, manual ones included, creates a new payment id and sends another payment.failed. Open one case per payment and a single customer turns into four cases. Key it on the subscription instead.
- Saving a card looks like a successful payment. When a customer updates their card, Dodo sends payment.succeeded with a total_amount of 0 and is_update_payment_method set to true. Nothing was collected. The charge for the overdue amount on an on_hold subscription carries the same flag but a real amount, so filter on the amount, never on the flag.
- The status lags. Right after a failed renewal, the subscription still reads active for a few seconds before it flips to on_hold. Code that checks the status the instant the webhook lands will think nothing is wrong.
- The customer comes back with an answer. When the new card is declined on Dodo's hosted page, the customer is sent back to your return URL with status=failed in the query string. Use it to tell them the card did not work instead of thanking them.
- Decline codes are uppercase (CARD_DECLINED, INSUFFICIENT_FUNDS). If your classifier was written for Stripe's lowercase codes, normalize first.
- Manual retry takes the original payment id, the one from the first failure, and answers with a new payment id for the new attempt.
Most of the work in a Dodo recovery integration is deciding which webhook events are real recoveries.
Using Rebounce on Dodo
If you would rather not build that, Rebounce connects to Dodo with an API key. It creates its own webhook in your Dodo account, so there is nothing to configure in the dashboard. When a renewal fails, it opens one case for the subscription, retries soft declines through Dodo's manual retry within Dodo's limits, and messages the customer by email, plus WhatsApp and SMS on the Growth and Scale plans, with a link to Dodo's own page to pay the overdue amount with a new card. Messages stop when the payment goes through or the subscription is cancelled.
If you use it, turn Dodo's own dunning emails off, or customers get two sets of reminders. The cancellation flow, card expiry warnings and checkout recovery that Rebounce has on Stripe are not available on Dodo. Rebounce charges a flat monthly price, not a share of what it recovers.
For Dodo as a platform, fees and risks included, read our Dodo Payments review. For the general playbook behind all of this, see what dunning is and the best dunning tools for 2026.