Hey! These docs are for version 3.2, which is no longer officially supported. Click here for the latest version, 1.0!

Test Resources

Test resources

Test Cards

As soon as you sign up with JusPay, we set you up with a Test PG automatically. Using this Test PG, you can run test transactions with a pre-configured set of cards.

Card #1
Card Number: 4242 4242 4242 4242
Card Expiry: 2020/10
Card CVV: 111
3D Secure Code: 1221

Card #2
Card Number: 5105 1051 0510 5100
Card Expiry: 2020/10
Card CVV: 111
3D Secure Code: 1221

Card #3
Card Number: 5123456789012346
Card Expiry: 2020/05
Card CVV: 123

Test Netbanking

Using this Test PG, you can run test transactions with pre-configured net banking,

Payment Method: NB_DUMMY NB Password: nb1221

By default, if you key in the above information, the transaction will succeed. Response code and response message will be as follows:

Response CodeResponse Message
0Payment Successful
Testing Failure Scenarios

To ensure a tight integration, the failure scenarios must be handled too. To enable you to test failure scenarios, we have the following use-cases which will return failure status.

Failure scenarios are by setting up the amount during order creation as follows:

AmountResponse CodeResponse Message
5551.002Balance not available
5552.002Error while reading data. The transaction cannot be processed.
5553.001unauthorized usage

For all the above cases, the order status would be AUTHORIZATION_FAILED.

Refund Failures can be tested by initiating the refund for Amount 19.00 (Make sure the order amount is more than 19)

Note

  • The gateway_id for Dummy Gateway is 100
  • Dummy Netbanking will work only if no PG's are configured in the account, so for testing remove all the pg credentials from gateway settings.

Did this page help you?