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
|Successful QR code creation||Any number other than 10100-10102||A response with “ACTIVE” as the QR code status will be returned immediately|
|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 |
|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 |
|An unexpected error occured, our team has been notified and will troubleshoot the issue||Amount = 10102||API Response Error 500 |
Was this page helpful?