Testing Scenarios
You can simulate in TEST mode both the success scenario as well as various error codes that might be returned in LIVE mode. Refer to the list of supported scenarios below for testing.
Testing Scenarios for Create QR Codes
Positive Scenarios
Scenario | Criteria | Expected Result |
---|---|---|
Successful QR code creation | Any number other than 10100-10102 | A response with “ACTIVE” as the QR code status will be returned immediately |
Negative Scenarios
Scenario | Criteria | Expected Result |
---|---|---|
Payment request failed because this specific payment channel has not been activated through Xendit. Please activate via Xendit dashboard or our customer success. | Amount = 10100 | API Response Error 403 CHANNEL_NOT_ACTIVATED |
The payment channel requested is currently experiencing unexpected issues. The eWallet provider will be notified to resolve this issue | Amount = 10101 | API Response Error 503 CHANNEL_UNAVAILABLE |
An unexpected error occured, our team has been notified and will troubleshoot the issue | Amount = 10102 | API Response Error 500 SERVER_ERROR |
Was this page helpful?