2. Test Integration

Do test payments to make sure that your integration works.


After the integration is complete, Razorpay will appear as a payment option on your web page/app. You need to click the button and make a test transaction to ensure that the integration is working as expected. You can start accepting actual payments from your customers once the test is successful.

You can make test payments using one of the payment methods configured at the Checkout.

  • No money is deducted from the customer's account as this is a simulated transaction.
  • Ensure you have entered the API keys generated in the test mode in the Checkout code.

You can enter one of the following UPI IDs:

  • success@razorpay: To make the payment successful.
  • failure@razorpay: To fail the payment.

Handy Tips

UPI Payments should be tested in Live Mode.

You can use one of the test cards to make transactions in the test mode. Use any valid expiration date in the future and any random CVV to create a successful payment.

TypeCard NetworkCard TypeCard NumberCVVExpiry Date
DomesticMastercardDebit Card5104 0600 0000 0008Random CVVAny future date
DomesticVisaCredit Card4718 6091 0820 4366Random CVVAny future date
InternationalMastercardCredit Card5104 0155 5555 5558Random CVVAny future date

Is this integration guide useful?

ON THIS PAGE