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 Code | Response Message |
---|---|
0 | Payment 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:
Amount | Response Code | Response Message |
---|---|---|
5551.00 | 2 | Balance not available |
5552.00 | 2 | Error while reading data. The transaction cannot be processed. |
5553.00 | 1 | unauthorized 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.
Updated over 3 years ago