Test the Integration

Use the Test mode to check if the integration is working as expected.

After the integration is complete, you must test the integration before you go live and start collecting payment. 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!

You must only use the Test merchant Key and Test Salt to carry out a test transaction.


Use test Key and Salt

To generate the Test merchant key and salt:

  1. Log in to the PayU Dashboard and switch to Test Mode on the menu.
  2. Navigate to Payment Gateway → Mobile SDK Integration → Key Salt Details.
  3. Use the Test key and the Test salt to test the integration.

Configure setIsProduction()

Set the value of the setIsProduction() to false in the payment integration code. This enables the integration to accept live payments.


Test credentials

Following are the payment methods supported in PayU Test mode.

Test credentials for Net Banking

Use the following credentials to test the Net Banking integration:

  • user name: payu
  • password: payu
  • OTP: 123456

Test VPA for UPI

You can use either of the following VPAs to test your UPI-related integration:

❗️

Callout

The UPI in-app and UPI intent flow is not available in the Test mode.

Test cards for EMI

You can use the following Debit and Credit cards to test Emi integration.

Kotak DC EMI1. Card Number: 4706-1378-0509-9594
2. Expiry: any future date (mm/yy)
3. CVV: 123
4. OTP: 111111
5. Name: Any name
6. Mobile Number: 9123412345 (mandatory for EMI)
AXIS DC EMI1. Card Number: 4011-5100-0000-0007
2. Expiry: any future date (mm/yy)
3. CVV: 123
4. OTP: 111111
5. Name: Any name
6. Mobile Number: 9123412345 (mandatory for EMI)
HDFC CC EMI1. Card Number: 4453-3410-65876437
2. Expiry: any future date (mm/yy)
3. CVV: 123
4. OTP: 111111
5. Name: Any name
6. Mobile Number: 9123412345 (mandatory for EMI)
ICICI CC EMI1. Card Number: 4453-3410-65876437
2. Expiry: any future date (mm/yy)
3. CVV: 123
4. OTP: 111111
5. Name: Any name
6. Mobile Number: 9123412345 (mandatory for EMI)

Test Wallets

You can use the following wallets and their corresponding credentials to test wallet integration.

WalletMobile NumberOTP
PayTM7777777777888888
PhonePeUse the Phonepe Pre-Prod app for testing purposes as described in the following PhonePe doc. location: https://developer.phonepe.com/v1/docs/setting-up-test-account
Download the app and register your mobile number and follow the instructions as described in the above PhonePe docs.
NA
AmazonPayYou can test using your original Amazon account details.