Book labs · Lesson 2 of 2 · 15 min
Chapter 3, a late charge.
The provider answers after the client has stopped
1 of 3
The client stopped waiting
The provider may still settle the charge. The timeout is not the provider’s outcome.
t = 0.00s · seed 3
payment-authorizations
- client_timeout_ms = provider_ms =
- POST /v1/orders/4471/payment-authorizations
- Idempotency-Key: checkout-4471-attempt-1
- reuse_operation_id =
- CREATE UNIQUE INDEX one_active_authorization_per_order
- ON payment_operations (order_id)
- WHERE operation_type = 'authorize'
- outbox_with_charge =
- This attemptThe retry is a new operation id.
- LedgerUnique 0. Duplicate 0. Unresolved 0.
- NotificationWritten with the charge, or still waiting on it.
Live metrics
The next checkout has not been sent.
- Checkouts sent
- 0
- Unique charges
- 0
- Duplicate charges
- 0
- Unresolved
- 0
- Lost notifications
- 0
- Clean streak
- 0
Ledger
Recent checkouts. The totals above are the whole run, and the challenge scores the clean streak.
| Checkout | Operation | Charges | Client | Notification |
|---|---|---|---|---|
| No checkout has been sent. | ||||
1 of 5
