Available in🇮🇳 India🇲🇾 Malaysia🇸🇬 Singapore🇺🇸 United States
You can test the payment flow using our test cards.
Watch this video to see how to use the test card details.
To use the test card details:
To use the test card details:
- At the Checkout, select Card as the payment method.
- Enter the OTP to access saved cards if required.
- Enter the card details. This depends on the flow you are testing.
- Enter any random CVV.
- Enter any future date as the expiry date.
- Click Pay. A sample payment page is displayed.
- Enter a random OTP between 4 to 10 digits to make the payment successful and click Submit.
- Enter a random OTP below 4 digits to fail the payment and click Submit.
Test Cards for Indian Payments
Use the following test cards to test various payment scenarios for Indian payments. You can save any of the test cards below. The saved card flow allows customers to store their card details for future transactions. When a customer selects the option to save their card, Razorpay handles the tokenization process internally. Know more about Saved Cards.Error Scenarios
Use these test cards to simulate and test various error conditions for the following networks. Once you initiate the payment, in success/failure screen, you must select failure to get the right error. Know more about Cards Error Codes.BAD_REQUEST_ERROR
BAD_REQUEST_ERROR
GATEWAY_ERROR
GATEWAY_ERROR
Test Cards for International Payments
Handy TipsYou may encounter an address collection window when using the Mastercard test card number
5105 1051 0510 5100 for international payments. To complete the test payment, provide the following address details:- Address Line 1: 21 Applegate Apartment
- Address Line 2: Rockledge Street
- City: New York
- State: New York
- Country: US
- Zipcode: 11561