Dunning is the process of retrying a failed renewal and reminding the customer to pay. When a renewal is declined, or refused before reaching the gateway (for example the authorisation was revoked or the amount is above its maximum), the subscription moves to Past Due and a subscription.renewal_failed webhook is sent.
Set the retry rules
Open Settings > Subscription Settings.
- Auto-retry failed payments: when on, failed renewals are retried automatically. When off, the subscription stays
Past Dueand nothing is retried. - Retry attempts: how many retries run, from 1 to 8. The default is 3.
- When retries run out:
Cancel the subscription(the default),Pause the subscription, orLeave it past due. A paused or past-due subscription starts again when the customer pays from their billing page. - Retry schedule (days after each failed payment) in the Dunning Emails card: choose
1 day,3 days,5 daysand7 days. Each retry waits for the next selected delay. The default is 1, 3 and 5 days. At least one day must stay selected. - Retry time of day: retries run at this hour in your account timezone (moved later, never earlier). The default runs them at the time of day the payment failed.
- Smart retry: a retry that falls on a Saturday or Sunday runs on Monday instead. Off by default.
- Grace period (days): the customer keeps their plan's features this many days after the first failed payment while retries run. 0 (the default) keeps them until retries end, when past-due access is on in Features.
Click Save Settings.
What the customer receives
After each failure the customer gets a reminder email, and a final notice before the last retry. The emails link to their billing page, where they can use Update payment method to pay the period and authorise a new payment method. If a retry or the customer's payment succeeds, the subscription returns to Active and they get a recovery email. The Send dunning emails switch is the same as Failed payment emails under Settings > Notifications.
Cards the bank refuses outright are not retried
Some declines mean the card itself will never work: it was reported lost or stolen, the account is closed, the number is invalid, the card has expired, or the bank refused it for fraud. Retrying the same card gets the same answer, so PaymentHooks does not retry it. The customer immediately gets an Action needed: update your payment method email with their billing page link, and the subscription waits in Past Due until they pay or set up a new payment method. Temporary declines, such as insufficient funds or the bank being unavailable, follow your retry schedule.
subscription.cancelled webhook is sent. With Pause the subscription it is paused (subscription.paused) and the customer gets a pay-and-resume link. With Leave it past due nothing else is retried and a subscription.updated webhook is sent.Collect it yourself
On a Past Due subscription, Retry Payment opens a checkout for the overdue period. Paying it renews the same subscription. See Collect an overdue payment with Retry Payment.