Last Updated: June 6, 2026
Write the retry logic. The payment service is wired to time out twice and then succeed, and the backoff is the deterministic part you can test, so this exercise uses the doubling schedule without the random jitter a real client would add on top.