Error Codes
Handle errors appropriately!
note
In this section, you will find the exhaustive list of errors that you may see during your integration phase or go-live
Error codes
The following table lists client error codes that the Doo Payment SDK returns to your website for graceful handling.
| Error Type | Error Message |
|---|---|
| invalid_request_error | Invalid api key |
| invalid_request_error | Invalid value for < parameter_name > |
| invalid_request_error | Missing required parameter: < parameter_name > |
| invalid_request_error | Invalid client secret |
| invalid_request_error | Invalid promise |
| processing_error | Payment failed with the payment processor |
| internal_server_error | Server is unavailable |
| object_not_found | Payment does not exist |
| confirm_payment_failed | An unknown error occurred |