Flows category icon
QA
Advanced

Payment Flow QA

Trust-level testing for payments: success, decline, cancel, idempotency, and state consistency.

5 steps15 verify checks60-90 minutesWorks with: emergent · chatgpt · claude · cursor
Start Guided Walkthrough

The Route

0/5 verified

Context Pack

Paste this first. It briefs the AI on requirements, constraints, and the Definition of Done before your first build prompt.

Context Pack
PROJECT CONTEXT:
My app takes payments and I need to verify the flow is correct, honest, and safe before real money touches it.

GOAL:
Verify the full payment lifecycle: amounts, success/failure paths, server-side truth, idempotency, and UI honesty.

REQUIREMENTS:
- Amount integrity (server-defined, tamper-proof)
- Success path verified with test payments
- Decline, cancel, and abandonment paths verified
- Idempotency (no double-charges or double-grants)
- Payment state consistency between provider, database, and UI

CONSTRAINTS:
- Test in provider test mode with test cards
- The client must never be the source of payment truth

DEFINITION OF DONE:
- Test payments succeed and grant correctly exactly once
- Declines and cancels produce honest, recoverable UX
- Client-side tampering cannot alter amounts
- Provider, database, and UI agree on every payment's state

COMMON FAILURES TO AVOID:
- Success pages granting access without server verification
- Refresh on success double-granting purchases
- Client-editable amounts reaching the provider
- Declined payments leaving half-granted states

Paste this into your AI builder first. It teaches the AI what you want before you give it the build prompt.

Related routes

More QA flows that share ground with this one.

Flows category icon
QA

Auth Flow QA

Dedicated auth testing: signup, login, sessions, guards, reset, and the edge cases that expose fake auth.

01Test the signup surface
02Test the login surface
03Test the session lifecycle

+2 more steps to Done

Best forbuilders who have shipped a basic app before

5 steps45-75 minutesIntermediate
Flows category icon
QA

Evidence Checklist

Prove your app works with evidence: build a claim-by-claim verification pack with receipts.

01Inventory every claim
02Define verification procedures
03Execute and collect evidence

+2 more steps to Done

Best foryour first pass at this - no prior setup assumed

5 steps45-60 minutesBeginner
Flows category icon
QA

Mobile QA Checklist

A rigorous mobile QA pass: layouts, touch, keyboards, and the full core journey on phone-sized screens.

01Layout pass at phone widths
02Fix layout breaks
03Touch and gesture pass

+2 more steps to Done

Best foryour first pass at this - no prior setup assumed

5 steps45-60 minutesBeginner

Made with Emergent