Dodo Payments failed payments: what to do next
Dodo Payments already sends a reliable payment.failed webhook with the business id, the amount, the currency, and (when the card network returns one) a decline code. What it does not do for you is the follow-up: writing the customer, scheduling reminders, and giving them a working link back to fix their card.
Read the decline code
Dodo's payment.failed webhook carries an error_code (insufficient_funds, expired_card, and others). The code decides whether a retry will ever work.
Match it to the right business
If you run more than one Dodo-connected business, match webhooks by business_id, not "whichever account connected most recently" -- a real bug in a lot of fast dunning tools.
Send a real link, not just a notice
Point the customer at Dodo's own Customer Portal so the card update happens on Dodo's secure page, then retry the charge once the card is fixed.
RetryBolt does all three automatically: it listens for your Dodo webhook, matches it to the right connection, and runs a real escalating day-0/2/5/9 email sequence until the payment is recovered or the customer unsubscribes.