Test Card Details
Dodo Payments provides a set of Test Card numbers that you can use to simulate various payment scenarios. You can use these test card numbers to create simulated payments in test mode without processing actual payments or charges. Test card numbers are only valid in test mode. Don’t use them for real payments.Test Card Numbers
Combine all the regional test cards in a single table for easier reference. The table below includes US and India cards for both successful and declined payment simulations.| Region | Brand | Scenario | Card Number | Expiry Date (MM/YY) | CVV/CVC |
|---|---|---|---|---|---|
| US | Visa | Success | 4242424242424242 | 06/32 | 123 |
| US | Visa | Declined | 4000000000000002 | 06/32 | 123 |
| US | Mastercard | Success | 5555555555554444 | 06/32 | 123 |
| US | Mastercard | Declined | 4000000000009995 | 06/32 | 123 |
| India | Visa | Success | 4576238912771450 | 06/32 | 123 |
| India | Visa | Declined | 4706131211212123 | 06/32 | 123 |
| India | Mastercard | Success | 5409162669381034 | 06/32 | 123 |
| India | Mastercard | Declined | 5105105105105100 | 06/32 | 123 |
Test UPI Details
Know what UPI is here.| Status | UPI ID |
|---|---|
| SUCCESS | success@upi |
| FAILURE | failure@upi |
Test Klarna Details
| Status | Date of Birth | First Name | Last Name | Street | House Number | City | State | Postal Code | Phone | |
|---|---|---|---|---|---|---|---|---|---|---|
| APPROVED | 07-10-1970 | Test | Person-us | [email protected] | Amsterdam Ave | 509 | New York | New York | 10024-3941 | +13106683312 |
| DENIED | 07-10-1970 | Test | Person-us | [email protected] | Amsterdam Ave | 509 | New York | New York | 10024-3941 | +13106354386 |
Test Afterpay Details
When testing your Checkout integration, select Afterpay as the payment method and click the Pay button.Successful Payment
- Use any valid email address and shipping address for successful payments.
Failed Authentication
- To test the case where the user fails to authenticate, use your test API keys and view the redirect page. On the redirect page, close the Afterpay modal window and verify that payment failed. The PaymentIntent transitions from
requires_actiontorequires_payment_method.
Test Apple Pay
You can test Apple Pay using your Dodo Payments test account.You’ll need an iPad, iPhone, or Mac to test Apple Pay. Use Safari on Mac.
1
Turn on Apple Pay for your Dodo Payments account
Enable Apple Pay in your Dodo Payments account settings.
2
Sign up for an Apple ID
If you don’t already have one, sign up for an Apple ID.
3
Add at least one card to Apple Pay
Add at least one card to Apple Pay. When testing with Apple Pay, you use real card details but your card isn’t charged.
4
Open a checkout and choose Apple Pay
Open a checkout in test mode and select Apple Pay as the payment method.
5
Choose a card and complete the test purchase
Select a card from your Apple Pay wallet and complete the test purchase.
Test Google Pay
You can test Google Pay using your Dodo Payments test account.You’ll need to use Google Chrome or an Android-powered device to test Google Pay.
1
Turn on Google Pay for your Dodo Payments account
Enable Google Pay in your Dodo Payments account settings.
2
Sign up for a Google Account
If you don’t already have one, sign up for a Google Account.
3
Add at least one card to Google Pay
Add at least one card to Google Pay. You can use test cards when working with Google Pay, but you must have at least one valid card in your wallet.
4
Join the Google Group for test cards
Join the Google Group for test cards. This automatically adds test cards to your wallet when Google Pay detects a test environment, like Dodo Payments test mode.
5
Open a checkout and choose Google Pay
Open a checkout in test mode and select Google Pay as the payment method.
6
Choose one of the Google Pay test cards and complete purchase
Select one of the Google Pay test cards from your wallet and complete the test purchase.
If you’re using Google Chrome on desktop, make sure the Allow sites to check if you have payment methods option is turned on in Chrome settings. This is turned on by default.