Skip to content
Copper Lane Payments Read-only example
A timeout means unknown, not failed
Decision

A timeout means unknown, not failed

Keep confirming

AI context

Subject type: decision
Subject ID: dec-timeout-is-unknown
Project ID: showroom-payments
Draft ID: retry-alternative · version 1
Project settings version: 1
Project settings hash: sha256:11eb9324f48ccccdfbf345321fa5ffff2df6e34be7357a383b848db997e22834

# Decision: A timeout means unknown, not failed (`dec-timeout-is-unknown`)

Keep confirming

## Context

Checkout’s authored 10-second deadline can expire before the processor outcome is known. Starting another payment would risk charging twice if the unanswered operation succeeded.

- State: Decided
- Chosen: Keep confirming
- Decided by: —
- ID: dec-timeout-is-unknown

## Options

- Keep confirming: Retain the same logical payment and key while seeking its existing outcome. Identical retries inside the fictional 24-hour window refer to that operation.
- Start another payment immediately: Treat a missing answer as failure and create another payment with a new operation key. The first payment may already have succeeded. A new operation permits a possible duplicate charge.

## Connections

- → Checkout ()
- → Payment service ()
- → Confirmation handler ()