2. Test Integration

Steps to test if the Standard Android Integration was successful.


After the integration is complete, a Pay button will appear on your webpage/app.

Test integration on your webpage/app

Click the button and make a test transaction to ensure 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.

Watch Out!

This is a mock payment page that uses your test API keys, test card and payment details.

  • Ensure you have entered only your in the Checkout code.
  • Due to using test keys, no real money is deducted. This is a simulated transaction.

Following are all the payment modes that the customer can use to complete the payment on the Checkout. Some of them are available by default, while others require approval from us. Raise a request from the

to enable such payment methods.

Payment MethodCodeAvailability
debit
credit
netbanking
upi
EMI - , and emi
wallet
cardless_emiRequires .
bank_transferRequires and Integration.
emandateRequires and Integration.
paylaterRequires .

You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment success or a failure. Since this is Test Mode, we will not redirect you to the bank login portals.

Check the list of

.

You can enter one of the following UPI IDs:

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

Check the list of

.

Handy Tips

UPI payments should be tested in Live Mode.

You can use one of the following test cards to test transactions for your integration in Test Mode.

  • Use any valid expiration date in the future in the MM/YY format.
  • Use any random CVV to create a successful payment.
Card NetworkDomestic / InternationalCard Number
MastercardDomestic5267 3181 8797 5449
VisaDomestic4111 1111 1111 1111
MastercardInternational5555 5555 5555 4444
5105 1051 0510 5100
VisaInternational4012 8888 8888 1881
5104 0600 0000 0008

Check the list of

.

You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment success or a failure. Since this is Test Mode, we will not redirect you to the wallet login portals.

Check the list of

.


Is this integration guide useful?