Testing a payment flow: statuses, ledger and failure paths
Follow one payment from start to finish. Check each status, check the money record behind it, and test what happens when something goes wrong.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: following a parcel with tracking. A parcel has a status: packed, sent, out for delivery, delivered. Each change should match a scan. If the page says delivered but no scan exists, something is wrong. If a parcel is lost, the trail shows where.
Lily buys the Daily List paid plan. Her payment also has a , the word that says where it is: pending, paid or failed. Tom checks every change of status against the money record behind it. That check is called a .
Sometimes the answer never arrives. The payment stays in the middle, and nobody knows if the money moved. Tom calls this a . It is the one he worries about most.
A good payment test follows the money, not only the screen.
The picture has limits. A parcel moves in one direction. A payment can also be refunded, cancelled or repeated.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
When a delivery update is missing, the parcel may still be moving. Likewise, a payment request that times out or a browser that closes has an unknown outcome until authoritative evidence resolves it. Retrying must not create another purchase by accident.
PLAIN WORDS · 1 in this section
- retrying
- trying the same payment or request again
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Following one payment through its statuses and checking the money record at every step, including when something goes wrong.
- List the statuses
- Try a refused move
- Read the ledger
- Test the failures
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| A parcel with tracking | A payment with statuses |
| Each scan | Each line in the money record |
| Delivered with no scan | Paid with no charge line |
| A lost parcel and its trail | A half-finished payment and how to ask |
WHERE THIS PICTURE STOPS
- A parcel goes one way. A payment may also be refunded or cancelled.
- A parcel scan is made by a person. A ledger line is made by a program.
- A lost parcel is reported by the buyer. A stuck payment may be silent.
- Order, attempt, authorisation, capture and refund are different objects/stages; pending is not proof of no financial reservation.
HOOK
Every status needs a scan.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
If a changes, there should usually be a matching line in the money record. Follow the money, not only the screen.
| In the trick | What it stands for |
|---|---|
| Status changes | Pending, paid or failed |
| Matching line | The money record behind the status |
| Follow the money | A good payment test follows the money, not only the screen |
Order, attempt, authorisation, capture and refund are different objects/stages; pending is not proof of no financial reservation.
TELL A FRIEND
Following a parcel with tracking. Each status must match a scan, and a lost parcel needs a trail.
OFTEN MIXED UP WITH End-to-end journeys. End-to-end journeys follow a user across a whole task. This lesson follows a payment and checks the money record at every step.
Sources & standards — 2 sources
- Market practice
The PaymentIntent lifecycle (Stripe documentation) ↗ — Stripe · Actual complete lifecycle table reviewed: authentication/payment/setup differ; declined attempt can return to requires_payment_method; capture and cancellation have method/state scope; refund separate. A closed UI is not cancellation. Documentation conflicts on exact processing-method cancellation lists are not universalised.
Actual primary page/document sections opened and compared in the Industry Contexts audit on 6 November 2026; scope and section-reading limits are documented in docs/research/v43-testing-industry-contexts-progress-20261106.md. Paraphrase teaching facts; a public page is not itself permission to republish proprietary source figures.
- Market practice
Stripe — Refund and cancel payments ↗ — Stripe · Actual complete substantive refund/cancellation/event sections reviewed. Request limits versus confirmed financial movements; pending/failed/canceled/requires_action states; original-method destination, reversals, references and duplicate reimbursement risk. Processing-cancellation method lists differ across current pages, so use selected method/API contract, not a universal list.
Actual primary page/document sections opened and compared in the Industry Contexts audit on 6 November 2026; scope and section-reading limits are documented in docs/research/v43-testing-industry-contexts-progress-20261106.md. Paraphrase teaching facts; a public page is not itself permission to republish proprietary source figures.
PRACTISE AND KEEP
Sources for this topic — 2 sources
- Market practice
The PaymentIntent lifecycle (Stripe documentation) ↗ — Stripe · Actual complete lifecycle table reviewed: authentication/payment/setup differ; declined attempt can return to requires_payment_method; capture and cancellation have method/state scope; refund separate. A closed UI is not cancellation. Documentation conflicts on exact processing-method cancellation lists are not universalised.
Actual primary page/document sections opened and compared in the Industry Contexts audit on 6 November 2026; scope and section-reading limits are documented in docs/research/v43-testing-industry-contexts-progress-20261106.md. Paraphrase teaching facts; a public page is not itself permission to republish proprietary source figures.
- Market practice
Stripe — Refund and cancel payments ↗ — Stripe · Actual complete substantive refund/cancellation/event sections reviewed. Request limits versus confirmed financial movements; pending/failed/canceled/requires_action states; original-method destination, reversals, references and duplicate reimbursement risk. Processing-cancellation method lists differ across current pages, so use selected method/API contract, not a universal list.
Actual primary page/document sections opened and compared in the Industry Contexts audit on 6 November 2026; scope and section-reading limits are documented in docs/research/v43-testing-industry-contexts-progress-20261106.md. Paraphrase teaching facts; a public page is not itself permission to republish proprietary source figures.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.