It is advised to do the solution development against PayU's staging environment. Once you have completed a successful staging testing you can request your production detail from PayU which will replace the staging details. |
Test credentials for PayU staging environment can be found on the test credential page.
The staging environment is typically used to develop to the customer's payment sequence. This environment is also not linked to any bank and all transactions will be marked as test transactions. The recommended test cases for your staging environment integration phase are below:
- Successful transaction
Once a customer has been redirected from the merchant's website to the PayU Payment Page, the customer will use the test credit cards details to simulate a successful test payment. The customer's browser will be redirected back to the merchant website from where a getTransaction API call will be issued. This API call response should reflect the successful payment state of the transaction.
- Cancelled transaction
Once a customer has been redirected from the merchant's website to the PayU Payment Page, then a cancelled transaction can be simulated when the customer clicks on the cancel link on the PayU interface. The customer's browser will be redirected back to the merchant website from where a getTransaction API call will be issued. This API call response should reflect the cancelled state of the transaction.