architecture decision

ADR-005: Call Stripe directly from payment orchestration (v1.0.0)

The first payment design allowed PaymentService to call Stripe directly during capture.

Decision RecordDecember 5, 2023SupersededIntegration
This architecture decision has been superseded

You are looking at a previous architecture decision. It has been superseded by ADR-005: Isolate Stripe behind PaymentGatewayService .

New version found

You are looking at a previous version of the adr ADR-005: Call Stripe directly from payment orchestration. The latest version of this adr is v2.0.0

Context

The initial checkout implementation optimized for speed and used Stripe directly from the payment orchestration code.

Decision

PaymentService called Stripe directly for authorization and capture.

Consequences

Provider details leaked into orchestration. This made testing, provider replacement, and gateway-specific retries harder, so the decision was superseded.