DoorDash: Donation service with reliable payments and duplicate protection
Prompt. Design a donation service. Users give money to causes, payments go through a payment processor, and the payouts to recipients must be tracked.
Areas the interviewer pushed on.
- How payment processing flows through your system and the external provider.
- What happens when the provider or a downstream call fails partway through.
- Lost connections, where the client does not know whether its charge went through.
- Duplicate requests from retries, and how to avoid charging a donor twice. This points to idempotency keys and recording a payment's state before and after calling the provider.
Context. This was the system design round of an onsite. The same loop had a coding screen on calling several downstream services with explicit failure and retry policies, an AI-assisted round on an order workflow with refunds, and a debugging round on concurrent rider dispatch. Reliability under failure was the common theme. The candidate was rejected without a stated reason.
Comments 0
No comments yet. Ask the author something, or add what happened in your own round.