Sample answer: where did we decide to retry failed payments?
A fictional result of the Where did we decide that? recipe: the decision, who made it, a citation, and whether the code still matches.
The answer
On 12 May the team decided to retry a failed card payment three times, two days apart, then mark the invoice needs attention and stop. Sam Okafor accepted it after a review with Priya Shah.
Does the code still match?
| Part of the decision | In the code | Matches? |
|---|---|---|
| Three retries | MAX_RETRIES = 3 in lib/billing/retry.ts | Yes |
| Two days apart | RETRY_DELAY = 48 hours | Yes |
| Notify the freelancer after the last one | Sends a needs-attention email | Yes |
| Stop retrying after the third | A fourth retry is scheduled for annual plans | No |
First-week questions log
- Done: Where did we decide to retry failed payments? Answered above.
- Is the fourth retry for annual plans intended?