HomeGuidesAPI ReferenceChangelog
Log InChangelog
Guides
Changelog

Success and Error types

Results returned from WalletCallback

Success Types

Returned type from WalletCallback onSuccess(WalletSuccess)

Enum

Description

USER_CANCELLED_SIGNING

Consumer cancels identity provider view during onboarding

USER_CANCELLED_AUTHENTICATION

Consumer cancels secure ID view during authentication

USER_CANCELLED_DELETION

Consumer cancels signing for deleting the wallet

USER_CLOSED_WALLET

Standard open wallet flow: Consumer clicks back arrow inside the Wallet Dashboard header

USER_CLOSED_PAYMENT_DIALOG

The payment dialog was closed or closed and cancelled via Merchant Store (POS) or Payment UI.

WALLET_DELETED

Wallet and secure ID is successfully deleted after deleteWallet()

PAYMENT_DIALOG_SUCCESS

Standard payment flow: Payment has been successfully signed and SDK dialog has been closed.

PAYMENT_INFO_SUCCESS

Partial payment flow: Payment details have been retrieved.

PAYMENT_SUCCESS

Payment has been successfully signed.

AUTHENTICATE_SUCCESS

Partial Open Wallets flow. Consumer has been authenticated and can access the Wallet dashboard.

ONBOARDING_SUCCESS

Partial Open Wallets flow. Consumer has been onboarded to the wallet and can access the Wallet dashboard.

GET_SDK_INFO_SUCCESS

SDK Info has been returned to the Mobile App


Error Types

Returned type from WalletCallback onError(WalletException)

Error code

Name

Description

68000

UNKNOWN_ERROR

Unknown error

68001

NETWORK_GENERAL_ERROR

Network issues

68002

WEBVIEW_ERROR

An error occurred in the Wallets WebView

68003

AUTHENTICATION_ERROR

Error during onboarding or signing via identity provider or secure ID

68004

TOKEN_NOT_VERIFIED_ERROR

A token returned from Aera Secure ID could not be verified

68005

DEVICE_NOT_SUPPORTED_ERROR

The consumer device is not supported by Secure ID and cannot use the wallet. See Android requirements section

68006

SID_SDK_INITIALIZATION_ERROR

Could not onboard via Secure ID

68007

SID_SDK_SIGN_ERROR

Could not authenticate via secure ID

68008

DELETE_WALLET_ERROR

Wallet and secure ID of consumer could not be deleted

68009

NO_SESSION_ERROR

A new createSession() is required

68010

SESSION_EXPIRED_ERROR

The consumer session inside the Wallets WebView expired, and consumer is kicked out of the wallet. The Mobile App decides what to do next, e.g. show session expiration page or do a new openWallet(). Occurs on Wallets FE ↔ WLW BE unauthorized responses

68011

NO_WALLET_ERROR

An existing wallet could not be found

68012

NO_URL_ERROR

No URL was provided to the WebView

68013

PAYMENT_ERROR

An error occurred during payment signing

68014

PAYMENT_DIALOG_ERROR

Standard flow: An error happened when opening or during display of Wallets SDK payment UI

68015

SIGN_DATA_ERROR

Signing data with Secure ID failed.

68016

ACTION_NOT_SUPPORTED

The method action is not supported by the Wallet SDK.

68098

FORMAT_ERROR

A value was formatted incorrectly

68099

GENERAL_ERROR

68019

SID_GENERAL_ERROR

🆕

An error from Secure ID SDK was returned to Wallets SDK

68018

SID_NOT_INITIALIZED_ERROR

🆕

Secure ID is not initialized/can not be used.