The onError callback includes an errorCode and errorMessage. The various error scenarios are described below.

errorCodeerrorMessageDescription
WRONG_CREDENTIALSWrong credentialsThe user provided incorrect login credentials to the merchant.
OTP_FAILEDVerification requiredThe user provided an incorrect OTP when logging into the merchant.
CARD_FAILEDCard not addedAn error related to the card info occurred when attempting to update the card in the merchant.
NO_SUBSCRIPTIONCard not addedThe user does not have a subscription with the merchant.
ACCOUNT_ISSUECard not addedThere is an issue with the user's merchant account.
MERCHANT_DOWNCard not addedThe merchant's service is currently unavailable.
COF_IS_NOT_SUPPORTEDCard not addedThe merchant does not support setting a card-on-file.
NO_SESSIONSession not foundA session was not found when initializing the SDK.
SESSION_EXPIREDThe session is expiredThe session being used in the SDK expired.
CLIENT_ID_NOT_FOUNDClient ID not foundThe SDK could not determine the client_id.
OTHERCard not addedAn unknown error occurred.