For a basic integration that solely involves redirection to the PayU website, utilizing a public test payment point is entirely adequate. However, if you require testing of all API messages, including actions like refunds and others, it is advisable to set up your own account on the sandbox environment.
POS ID (pos_id): 145227
Drugi klucz (MD5): 13a980d4f851f3d9a1cfc792fb1f5e50
OAuth protocol - client_id: 145227
OAuth protocol - client_secret: 12f071174cb7eb79d4aac5bc2f07563f
Here is a list of test cases for your integration to ensure your website handles the following scenarios correctly:
- Verify if your user is correctly redirected to PayU when PayU responds with an HTTP 302 for the POST method calls you make to the
- Confirm if you receive and parse the notification from PayU correctly, and respond with an HTTP 200 status.
- Ensure you correctly establish the order status during its lifecycle. Keep in mind that order status is provided only via notifications, while the statuses returned in the response from PayU apply to the request itself and to the order.
- Check if you provide the
continueUrlparameter and verify if the customer is redirected to this URL correctly after the payment process is completed.
- Be prepared to handle the error message passed in the query string added to the
- For card tokenization ensure your website is ready to handle all the payment authorization scenarios.
Options 1 and 2 above can be performed either via the Panel or programmatically via API.
The Sandbox environment is a near-replica of PayU's production system, designed for integration and testing purposes.