Payment Flow Lab
Test various payment scenarios including successful transactions, declines, 3D Secure verification, and edge cases. Practice handling payment webhooks and states.
Payment Configuration
Display: 99.99 USD
Test Cards
Click to copy card numbers
Payment Scenarios
Select a scenario to simulate different payment outcomes
Scenario Details
Flow Steps:
- 1Submit payment with valid card
- 2Receive immediate success response
- 3Order confirmation displayed
Automation Tips:
- Assert on success message within 2 seconds
- Verify order ID in confirmation
- Check localStorage for receipt
Test card: 4242424242424242
Current Payment
No active payment
Select a scenario and click Process
Payment History
No payment history yet
Testing Tips
- •Test idempotency by sending same request twice
- •Check Network tab for API response structure
- •Verify status codes: 200 success, 402 payment required, 429 rate limited
- •Test double-submit prevention with rapid clicks