Handle errors appropriately!
The following table lists client error codes that the Hyperswitch SDK returns to your website for graceful handling.
invalid_request_error
Invalid api key
Invalid value for < parameter_name >
Missing required parameter: < parameter_name >
Invalid client secret
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
Last updated 10 months ago
Was this helpful?