Errors
The onError
callback includes an errorCode
and errorMessage
. The various error scenarios are described below.
errorCode | errorMessage | Description |
---|---|---|
WRONG_CREDENTIALS | Wrong credentials | The user provided incorrect login credentials to the merchant. |
OTP_FAILED | Verification required | The user provided an incorrect OTP when logging into the merchant. |
CARD_FAILED | Card not added | An error related to the card info occurred when attempting to update the card in the merchant. |
NO_SUBSCRIPTION | Card not added | The user does not have a subscription with the merchant. |
ACCOUNT_ISSUE | Card not added | There is an issue with the user's merchant account. |
MERCHANT_DOWN | Card not added | The merchant's service is currently unavailable. |
COF_IS_NOT_SUPPORTED | Card not added | The merchant does not support setting a card-on-file. |
NO_SESSION | Session not found | A session was not found when initializing the SDK. |
SESSION_EXPIRED | The session is expired | The session being used in the SDK expired. |
CLIENT_ID_NOT_FOUND | Client ID not found | The SDK could not determine the client_id . |
OTHER | Card not added | An unknown error occurred. |
Updated 3 months ago