BRD-015 — Payment Capture & Confirmation
| Metadata | Details |
|---|---|
| Project Name | Payment Capture & Confirmation |
| Document ID | BRD-2026-PAY-001 |
| Author | Product Management & Engineering Leadership |
| Target Date | Q3 2026 |
| Status | Approved |
1. Executive Summary & Business Goal
When a customer chooses to pay online, the business has to actually collect that payment — not just record which method the customer picked. Confirmation of a successful charge comes from the payment provider itself, and it doesn’t always arrive on the business’s own clock: a confirmation can show up after the business has already stopped waiting for it, or it can arrive more than once. Either case has to be handled correctly — a late confirmation must still be resolved to a definite outcome instead of quietly lost, and a repeated confirmation must never be applied to the same order twice.
Business Objective
Give the business and its customers confidence that every order marked “paid” has a real, verified charge behind it; that a payment confirmation which arrives late is still resolved correctly rather than falling through the cracks; and that the business can never, through a redelivered confirmation, double-apply the same payment to an order.
Relationship to Checkout Completion
This document covers only the real-payment-collection guarantee itself — not everything else that happens once an order is placed. It does not restate how stock is set aside and released, how an order reliably reaches a courier, how an order’s details stay immutable, or how a customer watches progress and sees confirmation — all already covered by BRD-013 — Checkout Completion Orchestration: Reliable Stock, Payment, and Fulfillment Sequencing, which this document’s payment guarantee is sequenced inside of. It does not restate the checkout screen’s own payment-method selection — already covered by BRD-014 — Checkout Review: Address, Delivery, and Payment Selection.
2. Target Users & Stakeholders
- Customers: Need confidence that choosing to pay online results in a real, verified charge — not a charge that silently fails, is lost, or is taken twice.
- Finance & Operations: Need every payment collected against an order to be traceable to a real, verified transaction with the payment provider, and need a payment confirmation that arrives late to still resolve correctly rather than leaving money collected with no matching order outcome.
- Customer Support: Needs confidence that a customer was never charged twice for the same order, and that a payment that was genuinely collected is never silently unresolved.
- Engineering: Needs a payment confirmation that arrives after the business has already stopped waiting for it to still be resolved to a correct, definite outcome, and needs a repeated delivery of the same confirmation to be handled safely rather than applied more than once.
3. Scope of Work
In-Scope
- Genuinely collecting payment from the customer’s chosen payment provider when they pay online, rather than treating a selected payment method as if it were already a successful charge.
- Verifying that a payment confirmation actually came from the payment provider before treating an order as paid.
- Resolving a payment confirmation that arrives after the business has already stopped waiting for it — restoring the order if the stock it needs is still available, or refunding the customer if it isn’t — rather than letting it fall through the cracks.
- Guaranteeing that a payment provider’s confirmation, if it arrives more than once, is never applied to the order twice.
Out-of-Scope
- Stock reservation and release, courier handoff, order immutability, and customer-facing progress/confirmation — covered by BRD-013.
- The checkout screen’s own payment-method selection experience — covered by BRD-014.
- Proactively notifying a customer (a message, an email) when a delayed payment confirmation results in their order being refunded — the refund itself happens automatically, but telling the customer about it is not yet built (future scope).
- Order detail retrieval, order history, and order cancellation/refunds requested by the customer themselves — none of these exist today (future scope).
4. High-Level Business Requirements
| ID | Business Goal / Feature | Business Need & Impact | Priority |
|---|---|---|---|
| BR-01 | Payment Must Be Genuinely Collected, Not Just Recorded | When a customer chooses to pay online, the business must have real, verified confirmation from the payment provider before treating the order as paid — a selected payment method is not the same thing as a successful charge. | P0 |
| BR-02 | A Delayed Payment Confirmation Is Never Lost | If a payment provider confirms a payment after the business has already stopped waiting for it, that confirmation must still be resolved to a definite outcome — the order restored if the stock it needs is still available, or the customer refunded if it isn’t — never left unresolved. | P2 |
| BR-03 | No Payment Confirmation Is Ever Applied Twice | A payment provider’s confirmation message may arrive more than once; the business must guarantee it is only ever applied to the order a single time. | P2 |
5. Success Metrics & KPIs
- Payment integrity: every order marked paid has a real, verified confirmation from the payment provider behind it — zero orders marked paid on the strength of a selected method alone.
- Reconciliation completeness: every delayed payment confirmation is resolved to a definite outcome — order restored or refunded — with none left unresolved.
- Duplicate-confirmation safety: zero instances of a repeated payment-provider confirmation being applied to an order more than once.
6. Reference — What Shoppers See
| Screen | What a shopper sees there |
|---|---|
| Payment Method & Razorpay Payment Flow | Where the shopper actually completes payment, and where the app waits for this requirement’s payment-capture work to resolve (BR-01). |
| Order Confirmation | The success screen shown once this requirement’s genuine payment collection (BR-01), among everything else BRD-013 requires, has actually succeeded. |
Related Documents
- SR-016 — Payment Capture & Confirmation System Requirements
- ADR-00027 — Asynchronous Saga + Webhook Relay vs. Synchronous Payment Capture for Checkout Completion
- ADR-00029 — Server-Side Razorpay Order Creation (payment-service) vs. Client-Constructed Payment Order
- ADR-00030 — Webhook-Verified Payment Outcome vs. Client-Reported Checkout Success as Source of Truth
- ADR-00031 — Razorpay-Hosted Checkout UI for Card Capture vs. In-House Card Entry + pci-service Integration Now
- Architecture — Checkout Completion: Payment Capture and Fulfillment Handoff — full component topology and end-to-end payment-capture flow
- Technical Debt — Checkout Completion Payment Flow Gaps
- BRD-013 — Checkout Completion Orchestration: Reliable Stock, Payment, and Fulfillment Sequencing — the stock, fulfillment, and failure-handling this payment guarantee is sequenced inside of
- BRD-014 — Checkout Review: Address, Delivery, and Payment Selection — the screen a customer reviews and taps Place Order & Pay from
- BRD-011 — Reusable Product-to-Order Journey With Trustworthy Totals — the trustworthy-totals guarantee this document’s payment amount is derived from