Agent Wranglers

PAY-35Recommended

Retry failed renewals on a fixed schedule

Retry a soft-declined renewal a fixed number of times over a fixed window, such as 4 times in 14 days. Then move the subscription to a planned end state.

How to do it

Space the retries, such as after 1, 3, 7 and 14 days, or use the provider's smart retries. Never retry the same card several times in one day. After the last retry, apply the end state you chose, such as cancel, pause or move to a free plan, and tell the customer. Keep the schedule in configuration, so finance can read it without the code. Tell the customer at each step as Ask the customer to fix the payment says.

Examples

YAML example

dunning:
  retry_after_days: [1, 3, 7, 14]
  grace_period_days: 7
  after_last_retry: cancel
  messages: [on_failure, before_last_retry, on_cancel]

How to check

With a test clock and a card that declines for insufficient funds, the provider shows exactly the planned retries. Then the subscription ends in the planned state.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/payments/failed-payments-and-dunning/dunning-schedule">Agent Wranglers payments and billing playbook</a>. In code you write, add a comment next to it with the same link.