Test and Deploy
Test Card Numbers
| Card Number | Type | Result |
|---|---|---|
4111111111111111 | Visa | Approved |
5431111111111111 | Mastercard | Approved |
6011601160116611 | Discover | Approved |
341111111111111 | Amex | Approved |
4111111111111111 + amount 0.01 | Visa | Declined |
Use any future expiry and any CVV. See Test Card Simulator for full list.
Testing Checklist
- ✓ Approved sale — Visa and Mastercard
- ✓ Declined transaction — error message displays correctly
- ✓ Invalid card number — inline validation fires
- ✓ Empty form submission — all required fields validate
- ✓ Transaction notification received at webhook URL
- ✓ Success redirect works
- ✓ Tested on iOS Safari and Android Chrome
Pre-Launch Checklist
- Switch sandbox keys to production keys
- Ensure HTTPS with valid SSL certificate
- Confirm notification URL is accessible from the internet
- Set up error logging and alerting
- Run one small live test transaction before full launch
Double-check that all sandbox keys are replaced with production keys before going live.