Testing
This document provides comprehensive testing guidelines for the Convenient Checkout platform, covering various payment methods, error scenarios, and environment-specific considerations.
Test Data
Refer Test Data
Retry Mechanism Testingβ
π Overview of Retry Functionality
The Convenient Checkout platform implements retry functionality to permit up to 5 attempts when a user encounters a failure during payment or payment method entry validation.
π Retry Logic for Different Session Modes
Payment Modeβ
- After 5 failed attempts, the session becomes invalidated
- A dead-end screen is displayed to the user
Payment Method Entry Modeβ
- After 5 failed attempts, the session becomes invalidated
- A dead-end screen is displayed to the user
Payment With Wallet Modeβ
- After 5 failed attempts, the retry count is reset
- The user is redirected back to the wallet screen
- A warning message is displayed informing the user about the need to add payment method details again
π Retry Behavior by Payment Method Type
| Payment Method | Input Validation Errors Count as Retry | Business Rules Validation Errors Count as Retry | Errors from Stripe Count as Retry |
|---|---|---|---|
| Card | No | N/A | Yes |
| ACH/Bank Account | No | Yes | No |
Environment-Specific Testing Considerationsβ
π§ͺ Non-Production Environment
- All test transactions are simulated and no actual charges occur
- Use the provided test card numbers and bank account details
- Testing digital wallets requires properly configured personal devices
π Production Environment
- Use real payment credentials
- Transactions will result in actual charges
- Ensure proper domain validation for digital wallet payments