Enum D1Exception.ErrorCode
- java.lang.Object
-
- java.lang.Enum<D1Exception.ErrorCode>
-
- com.thalesgroup.gemalto.d1.D1Exception.ErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<D1Exception.ErrorCode>
- Enclosing class:
- D1Exception
public static enum D1Exception.ErrorCode extends Enum<D1Exception.ErrorCode>
D1 error code.NOTE:
EachD1Exceptionreturned by D1 SDK contains one of these error codes.- Since:
- 1.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_AUTHNAuthn operations failed.ERROR_AUTHN_ACCESS_DENIEDAuthn Access denied.ERROR_AUTHN_AUTHENTICATOR_NOT_AVAILABLEAuthn Device is not secured with a PIN, pattern, password or biometric authentication.ERROR_AUTHN_INVALID_ENROLLMENT_TOKENAuthn Invalid Enrollment Token.ERROR_AUTHN_NOT_ENROLLEDAuthn User is not enrolled.ERROR_AUTHN_USER_LOCKOUTAuthn User Locked Out.ERROR_CANCELLEDThe operation has been cancelled.ERROR_CARDErrors occurred whilst executing card operations.ERROR_CARD_NO_PENDING_IDVNo pending activation digital card.ERROR_CARD_NOT_FOUNDThe provided cardID is not found.ERROR_CARD_NOT_MANAGED_BY_D1The card is not issued by D1.ERROR_CARD_OPERATION_INVALID_REASONOperation (replace) is not allowed on the card issued by D1.ERROR_CARD_OPERATION_NOT_ALLOWEDOperation (resume/suspend/replace) is not allowed on the card issued by D1.ERROR_CARD_SETTINGS_INVALID_FORMATOperation updateCardLimit/updateCardControls setting encounters an error because the value is not in the allowed format for the card issued by D1.ERROR_CARD_SETTINGS_INVALID_VALUEOperation updateCardLimit/updateCardControls setting encounters an error because the value for the card issued by D1 is incorrect even though the input format is correct.ERROR_CARD_SETTINGS_OPERATION_NOT_ALLOWEDOperation updateCardLimit/updateCardControls setting is not allowed on the card issued by D1.ERROR_COREAn error occurred whilst executing core operations.ERROR_D1PAYErrors occurred whilst executing D1 Pay operations.ERROR_D1PAY_BIOFP_CONDITION_NOT_SATISFIEDAn error occurred when there is no biometric identifier enrolled on device or the device screen lock type is changed to swipe.ERROR_D1PAY_CARD_NOT_EXISTINGD1 Pay card has been deleted before or during payment activation process.ERROR_D1PAY_CARD_SUSPENDEDD1 Pay card has been suspended before or during payment activation process.ERROR_D1PAY_CPS_UPGRADE_OR_INIT_IN_PROGRESSAn error occurred when the D1 Pay provisioning upgrade or initialization operation is ongoing.ERROR_D1PAY_DELETION_IN_PROGRESSD1 Pay Token Deletion is in progress.ERROR_D1PAY_DIGITIZATION_COMPLETEDDigitization has been completed for the cardID.ERROR_D1PAY_MOBILE_GATEWAYError encountered in D1 Pay card mobile gateway operation.ERROR_D1PAY_NO_CARD_ART_CACHEAn error occurred when the integrator callsD1PayWallet.getCachedCardMetadata(String, D1Task.Callback)getCachedCardMetadata} API to retrieve the local cached copy of card metadata.ERROR_D1PAY_NO_CARD_METADATA_CACHEAn error occurred when the integrator callsD1PayWallet.getCachedCardMetadata(String, D1Task.Callback)getCachedCardMetadata} API to retrieve the local cached card metadata and no cached copy is available.ERROR_D1PAY_NO_DEFAULT_CARDNo D1 Pay card is set as default card.ERROR_D1PAY_NO_PUSH_TOKENPush Token is not set yet.ERROR_D1PAY_NOT_SUPPORTEDThe feature is not supported.ERROR_D1PAY_OUT_OF_PAYMENT_KEYSAn error occurred when D1 Pay card does not have any payment keys left.ERROR_D1PAY_PAYMENT_SERVICEError encountered in D1Pay payment operation.ERROR_D1PAY_POS_COMM_DISCONNECTEDError encountered when connection of the mobile device with POS terminal is lost while there is an APDU exchange.ERROR_D1PAY_PROVISIONING_SERVICEError encountered in D1 Pay provisioning operation.ERROR_D1PAY_UNRECOVERABLEUnrecoverable error happened while executing D1 Pay operation.ERROR_D1PAY_VISA_REPLENISHMENT_AUTHENTICATIONError encountered when D1Pay check whether VISA replenishment requires authentication.ERROR_D1PAY_VISA_REPLENISHMENT_PREPARATIONAn error occurred when D1 Pay prepares a Visa replenishment.ERROR_DEBUG_SDK_USEDFor security reason, Debug SDK cannot be used with Release App.ERROR_DEVICE_ENVIRONMENT_UNSAFEThe device environment is potentially unsafe, please ensure that the device environment is safe.ERROR_GPAYErrors encountered whilst executing Google Pay operations.ERROR_GPAY_NOT_SUPPORTEDThe feature is not supported.ERROR_INVALID_ARGUMENTErrors encountered whilst executing initialization.ERROR_NO_CARD_ACTIVATION_METHODThere was no card activation method found for this card.ERROR_NOT_ACTIVEThe consumer/card is not in the active state.ERROR_NOT_AUTHORIZEDThis operation is not authorized.ERROR_NOT_LOGGED_INThe user is not logged in or the login validity has expired.ERROR_NOT_SUPPORTEDDeprecated.Please use more specific code:ERROR_GPAY_NOT_SUPPORTED,ERROR_SPAY_NOT_SUPPORTED,ERROR_D1PAY_NOT_SUPPORTEDERROR_PIN_CHANGE_FORBIDDENPIN change operation is forbidden on this card.ERROR_PIN_INVALIDThe PIN inputs do not meet the PIN length or contain unexpected characters.ERROR_PIN_MISMATCHThere was a mismatch with the PIN inputs.ERROR_PUSH_TOKEN_NOT_FOUNDThe push token is not found when registering the notification for card issued by D1.ERROR_RISKRisk assessment failed.ERROR_SPAYErrors encountered whilst executing Samsung Pay operations.ERROR_SPAY_APP_NOT_FOUNDSamsung Pay App is not found on device.ERROR_SPAY_NEED_TO_UPDATESamsung Pay App requires update.ERROR_SPAY_NOT_SUPPORTEDThe feature is not supported.ERROR_SPAY_SETUP_NOT_COMPLETEDSamsung Pay Setup has not been completed.ERROR_UI_COMPONENT_NOT_FOUNDThe required UI component is not found.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetCode()Deprecated.Please use the new API:D1Exception.getMessage().static D1Exception.ErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static D1Exception.ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR_CANCELLED
public static final D1Exception.ErrorCode ERROR_CANCELLED
The operation has been cancelled.getCode()value: 10001.
-
ERROR_NOT_LOGGED_IN
public static final D1Exception.ErrorCode ERROR_NOT_LOGGED_IN
The user is not logged in or the login validity has expired. Please login before performing subsequent requests.getCode()value: 10005.NOTE:
Proceed toD1Task.login(byte[], com.thalesgroup.gemalto.d1.D1Task.Callback)before performing subsequent requests. If you were previously logged in, you will need to login again.
-
ERROR_NOT_AUTHORIZED
public static final D1Exception.ErrorCode ERROR_NOT_AUTHORIZED
This operation is not authorized. Verify the parameters requested are correct.getCode()value: 10006.NOTE:
Retry the operation again.
-
ERROR_DEVICE_ENVIRONMENT_UNSAFE
public static final D1Exception.ErrorCode ERROR_DEVICE_ENVIRONMENT_UNSAFE
The device environment is potentially unsafe, please ensure that the device environment is safe.getCode()value: 10007.NOTE:
Ensure that the device environment is safe.
-
ERROR_NOT_SUPPORTED
public static final D1Exception.ErrorCode ERROR_NOT_SUPPORTED
Deprecated.Please use more specific code:ERROR_GPAY_NOT_SUPPORTED,ERROR_SPAY_NOT_SUPPORTED,ERROR_D1PAY_NOT_SUPPORTEDThis feature is not supported. This may be due to several reasons such as calling a Visa-specific feature on a Mastercard, or Google Pay is not available.getCode()value: 10008.NOTE:
Integrator should display information to user on why it is not supported.
-
ERROR_CARD_NOT_FOUND
public static final D1Exception.ErrorCode ERROR_CARD_NOT_FOUND
The provided cardID is not found.getCode()value: 10009.NOTE:
Integrator should ensure that the cardID is correct.
-
ERROR_NOT_ACTIVE
public static final D1Exception.ErrorCode ERROR_NOT_ACTIVE
The consumer/card is not in the active state. Please ensure that the card/consumer is in the active state.getCode()value: 10010.NOTE:
Integrator should ensure that the card/consumer is in the active state.
-
ERROR_CORE
public static final D1Exception.ErrorCode ERROR_CORE
An error occurred whilst executing core operations. It is caused by a storage (unlikely) or a network failure.getCode()value: 20001.NOTE:
Integrator should check the underlying errors for more details. Ensure that the device is connected to the internet.
-
ERROR_NO_CARD_ACTIVATION_METHOD
public static final D1Exception.ErrorCode ERROR_NO_CARD_ACTIVATION_METHOD
There was no card activation method found for this card.getCode()value: 20002.NOTE:
Integrator should first retrieve the activation method for this card.
-
ERROR_UI_COMPONENT_NOT_FOUND
public static final D1Exception.ErrorCode ERROR_UI_COMPONENT_NOT_FOUND
The required UI component is not found.getCode()value: 20003.NOTE:
Integrator should provide the necessary UI component.
-
ERROR_PIN_MISMATCH
public static final D1Exception.ErrorCode ERROR_PIN_MISMATCH
There was a mismatch with the PIN inputs.getCode()value: 20004.NOTE:
Integrator should ensure that the provided PINs are identical.
-
ERROR_CARD_NOT_MANAGED_BY_D1
public static final D1Exception.ErrorCode ERROR_CARD_NOT_MANAGED_BY_D1
The card is not issued by D1.getCode()value: 20005.NOTE:
The API only supports cards issued by D1. Integrator should ensure that the cardID are issued by D1.- Since:
- 4.0.0
-
ERROR_PIN_INVALID
public static final D1Exception.ErrorCode ERROR_PIN_INVALID
The PIN inputs do not meet the PIN length or contain unexpected characters.getCode()value: 20010.NOTE:
Integrator should ensure that the provided PINs meet the PIN length and contain only digits.- Since:
- 3.4.0
-
ERROR_PIN_CHANGE_FORBIDDEN
public static final D1Exception.ErrorCode ERROR_PIN_CHANGE_FORBIDDEN
PIN change operation is forbidden on this card.getCode()value: 20011.NOTE:
Integrator should ensure that PIN change operation is allowed on the provided card.- Since:
- 3.4.0
-
ERROR_DEBUG_SDK_USED
public static final D1Exception.ErrorCode ERROR_DEBUG_SDK_USED
For security reason, Debug SDK cannot be used with Release App.getCode()value: 20012.NOTE:
Integrator should ensure that Release App only uses Release SDK.- Since:
- 4.0.0
-
ERROR_CARD_OPERATION_NOT_ALLOWED
public static final D1Exception.ErrorCode ERROR_CARD_OPERATION_NOT_ALLOWED
Operation (resume/suspend/replace) is not allowed on the card issued by D1. It may be due to the card state and state reason.getCode()value: 40011.NOTE:
Integrator should display information to the end user that the card operation is not allowed because of the current card state and reason.Category - Managed Card Service
- Since:
- 4.0.0
-
ERROR_CARD_OPERATION_INVALID_REASON
public static final D1Exception.ErrorCode ERROR_CARD_OPERATION_INVALID_REASON
Operation (replace) is not allowed on the card issued by D1. It may be due to the card state and state reason.getCode()value: 40012.NOTE:
Ensure that the state reason provided is valid for the given operation. Refer toStateReason.getReplaceReasons()for the valid reasons.Category - Managed Card Service
- Since:
- 4.0.0
-
ERROR_CARD_SETTINGS_OPERATION_NOT_ALLOWED
public static final D1Exception.ErrorCode ERROR_CARD_SETTINGS_OPERATION_NOT_ALLOWED
Operation updateCardLimit/updateCardControls setting is not allowed on the card issued by D1. Update is performed on null property from thegetCardSettingsAPI.getCode()value: 40013.NOTE:
Do not set value on null property obtained fromgetCardSettingsAPI. The null property indicates that the field is not supported/configured at the D1 backend.Category - Managed Card Service
- Since:
- 4.0.0
-
ERROR_CARD_SETTINGS_INVALID_FORMAT
public static final D1Exception.ErrorCode ERROR_CARD_SETTINGS_INVALID_FORMAT
Operation updateCardLimit/updateCardControls setting encounters an error because the value is not in the allowed format for the card issued by D1.getCode()value: 40014.NOTE:
Ensure that all the properties included in the card settings object are in the allowed format. Refer to ISO 3166-1 alpha-2 format for the list of countries allowed and ISO 4217 alpha code format for the list of currencies allowed.- Since:
- 4.0.0
-
ERROR_CARD_SETTINGS_INVALID_VALUE
public static final D1Exception.ErrorCode ERROR_CARD_SETTINGS_INVALID_VALUE
Operation updateCardLimit/updateCardControls setting encounters an error because the value for the card issued by D1 is incorrect even though the input format is correct.getCode()value: 40015.NOTE:
Ensure that all the mandatory properties included in the card settings object have the correct values.- Since:
- 4.0.0
-
ERROR_PUSH_TOKEN_NOT_FOUND
public static final D1Exception.ErrorCode ERROR_PUSH_TOKEN_NOT_FOUND
The push token is not found when registering the notification for card issued by D1.NOTE:
Integrator should call theD1Task.updatePushTokenAPI before calling theMessagingService.registerMessageNotificationAPI.- Since:
- 4.0.0
-
ERROR_RISK
public static final D1Exception.ErrorCode ERROR_RISK
Risk assessment failed.getCode()value: 30001.NOTE:
Integrator should check the underlying errors for more details and also ensure that:- The risk credentials are correct.
- The device is connected to the internet.
Category - Risk API
- See Also:
D1Task.Builder#setRiskURLString(String),D1Task.Builder#setRiskClientID(String)
-
ERROR_CARD
public static final D1Exception.ErrorCode ERROR_CARD
Errors occurred whilst executing card operations.getCode()value: 40001.NOTE:
Integrator should check the underlying errors for more details. Ensure card configurations are correct and the device is connected to the internet.Category - Card API
-
ERROR_CARD_NO_PENDING_IDV
public static final D1Exception.ErrorCode ERROR_CARD_NO_PENDING_IDV
No pending activation digital card. No digital card is found withCardDigitizationState.PENDING_IDV.getCode()value: 40003.NOTE:
Integrator may check the state of the card by callingD1Task#getCardDigitizationState(String, D1Task.Callback).Category - Card API
-
ERROR_SPAY_SETUP_NOT_COMPLETED
public static final D1Exception.ErrorCode ERROR_SPAY_SETUP_NOT_COMPLETED
Samsung Pay Setup has not been completed.getCode()value: 40004.NOTE:
CallD1PushWallet.activateSamsungPay(). End user need to sign-in into Samsung Pay app.Category - Card API
-
ERROR_SPAY_NEED_TO_UPDATE
public static final D1Exception.ErrorCode ERROR_SPAY_NEED_TO_UPDATE
Samsung Pay App requires update.getCode()value: 40005.NOTE:
Samsung Pay Setup has not been completed. CallD1PushWallet.updateSamsungPay(). End user need to update Samsung Pay app.Category - Card API
-
ERROR_SPAY_APP_NOT_FOUND
public static final D1Exception.ErrorCode ERROR_SPAY_APP_NOT_FOUND
Samsung Pay App is not found on device.getCode()value: 40006.NOTE:
Ask End user to install Samsung Pay app.Category - Card API
-
ERROR_GPAY_NOT_SUPPORTED
public static final D1Exception.ErrorCode ERROR_GPAY_NOT_SUPPORTED
The feature is not supported. It could be because of Google Pay not available.getCode()value: 40007.NOTE:
Integrator should display information to the user.
-
ERROR_SPAY_NOT_SUPPORTED
public static final D1Exception.ErrorCode ERROR_SPAY_NOT_SUPPORTED
The feature is not supported. It could be because of Samsung Pay not available or Device model is not Samsung.getCode()value: 40008.NOTE:
Integrator should display information to the user.
-
ERROR_GPAY
public static final D1Exception.ErrorCode ERROR_GPAY
Errors encountered whilst executing Google Pay operations.getCode()value: 40009.NOTE:
Integrator should check the underlying errors for more details. Ensure Google Pay configurations are correct and the device has internet connection.Category - GPAY API
-
ERROR_SPAY
public static final D1Exception.ErrorCode ERROR_SPAY
Errors encountered whilst executing Samsung Pay operations.getCode()value: 40010.NOTE:
Integrator should check the underlying errors for more details. Ensure Samsung Pay configurations are correct and the device has internet connection.Category - SPAY API
-
ERROR_D1PAY
public static final D1Exception.ErrorCode ERROR_D1PAY
Errors occurred whilst executing D1 Pay operations.getCode()value: 50001.NOTE:
Integrator should check the underlying errors for more details. Ensure D1 Pay configurations are correct and the device is connected to the internet.Category - D1PAY API
-
ERROR_D1PAY_UNRECOVERABLE
public static final D1Exception.ErrorCode ERROR_D1PAY_UNRECOVERABLE
Unrecoverable error happened while executing D1 Pay operation.getCode()value: 50002.NOTE:
Integrator should callD1PayWallet.reset(Context)to clear all D1 Pay internal data.Category - D1 PAY API
- See Also:
D1PayWallet.reset(Context)
-
ERROR_D1PAY_NO_PUSH_TOKEN
public static final D1Exception.ErrorCode ERROR_D1PAY_NO_PUSH_TOKEN
Push Token is not set yet. Push token is mandatory for D1 Pay digitization.getCode()value: 50003.NOTE:
Integrator should callD1Task.updatePushToken(String, D1Task.Callback)before digitization.Category - D1 PAY API
-
ERROR_D1PAY_DIGITIZATION_COMPLETED
public static final D1Exception.ErrorCode ERROR_D1PAY_DIGITIZATION_COMPLETED
Digitization has been completed for the cardID.getCode()value: 50005.NOTE:
Integrator should callD1PayWallet.getCardDigitizationState(String, D1Task.Callback)to check the digital card state.Category - D1PAY API
-
ERROR_D1PAY_DELETION_IN_PROGRESS
public static final D1Exception.ErrorCode ERROR_D1PAY_DELETION_IN_PROGRESS
D1 Pay Token Deletion is in progress.getCode()value: 50006.This may happen rarely if digitization stopped in the middle for any reason, for example, End User may terminate the application or the application has crashed.
NOTE:
Integrator should wait for push notification onD1PayDataChangedListener.onDataChanged(String, State)forState.DELETEDbefore performing digitization again.Category - D1 PAY API
-
ERROR_D1PAY_MOBILE_GATEWAY
public static final D1Exception.ErrorCode ERROR_D1PAY_MOBILE_GATEWAY
Error encountered in D1 Pay card mobile gateway operation.getCode()value: 50007.NOTE:
Integrator should check the underlying errors for more details.Category - D1 PAY API
-
ERROR_D1PAY_PROVISIONING_SERVICE
public static final D1Exception.ErrorCode ERROR_D1PAY_PROVISIONING_SERVICE
Error encountered in D1 Pay provisioning operation.getCode()value: 50008.NOTE:
Integrator should check the underlying errors for more details.Category - D1 PAY API
-
ERROR_D1PAY_PAYMENT_SERVICE
public static final D1Exception.ErrorCode ERROR_D1PAY_PAYMENT_SERVICE
Error encountered in D1Pay payment operation.getCode()value: 50009.NOTE:
Integrator should check the underlying errors for more details.Category - D1PAY API
-
ERROR_D1PAY_VISA_REPLENISHMENT_AUTHENTICATION
public static final D1Exception.ErrorCode ERROR_D1PAY_VISA_REPLENISHMENT_AUTHENTICATION
Error encountered when D1Pay check whether VISA replenishment requires authentication.getCode()value: 50010.NOTE:
Integrator should check the underlying errors for more details.Category - D1PAY API
-
ERROR_D1PAY_VISA_REPLENISHMENT_PREPARATION
public static final D1Exception.ErrorCode ERROR_D1PAY_VISA_REPLENISHMENT_PREPARATION
An error occurred when D1 Pay prepares a Visa replenishment.getCode()value: 50011.NOTE:
Integrator should check the underlying errors for more details.Category - D1PAY API
-
ERROR_D1PAY_CARD_SUSPENDED
public static final D1Exception.ErrorCode ERROR_D1PAY_CARD_SUSPENDED
D1 Pay card has been suspended before or during payment activation process.getCode()value: 50012.NOTE:
Integrator should notify user that the card has been suspended by the card issuer. Contact the card issuer for more information.Category - D1 PAY API
-
ERROR_D1PAY_CARD_NOT_EXISTING
public static final D1Exception.ErrorCode ERROR_D1PAY_CARD_NOT_EXISTING
D1 Pay card has been deleted before or during payment activation process.getCode()value: 50013.NOTE:
Integrator should notify user that the card has been deleted by the card issuer. Contact the card issuer for more information.Category - D1 PAY API
-
ERROR_D1PAY_POS_COMM_DISCONNECTED
public static final D1Exception.ErrorCode ERROR_D1PAY_POS_COMM_DISCONNECTED
Error encountered when connection of the mobile device with POS terminal is lost while there is an APDU exchange.getCode()value: 50014.NOTE:
Integrator should notify user to try again.Category - D1PAY API
-
ERROR_D1PAY_OUT_OF_PAYMENT_KEYS
public static final D1Exception.ErrorCode ERROR_D1PAY_OUT_OF_PAYMENT_KEYS
An error occurred when D1 Pay card does not have any payment keys left. This may happen when the handset is not connected to the internet for a long time.getCode()value: 50015.NOTE:
Integrator should notify user that the user need to ensure an internet connection is available. When it is available, the card should be replenished.Category - D1 PAY API
-
ERROR_D1PAY_NO_DEFAULT_CARD
public static final D1Exception.ErrorCode ERROR_D1PAY_NO_DEFAULT_CARD
No D1 Pay card is set as default card.getCode()value: 50016.NOTE:
Integrator should display a message and a list of available cards to the user.Category - D1PAY API
-
ERROR_D1PAY_BIOFP_CONDITION_NOT_SATISFIED
public static final D1Exception.ErrorCode ERROR_D1PAY_BIOFP_CONDITION_NOT_SATISFIED
An error occurred when there is no biometric identifier enrolled on device or the device screen lock type is changed to swipe.getCode()value: 50017.NOTE:
Integrator should display the message to the user.Category - D1 PAY API
-
ERROR_D1PAY_CPS_UPGRADE_OR_INIT_IN_PROGRESS
public static final D1Exception.ErrorCode ERROR_D1PAY_CPS_UPGRADE_OR_INIT_IN_PROGRESS
An error occurred when the D1 Pay provisioning upgrade or initialization operation is ongoing.getCode()value: 50018.NOTE:
Integrator should inform the user to try it again after 30 seconds.Category - D1PAY API
-
ERROR_D1PAY_NOT_SUPPORTED
public static final D1Exception.ErrorCode ERROR_D1PAY_NOT_SUPPORTED
The feature is not supported. It could be because of D1 Pay not available. Either Biometric or Screen Lock should be enabled.getCode()value: 50019.NOTE:
Integrator should display information to the user.
-
ERROR_D1PAY_NO_CARD_ART_CACHE
public static final D1Exception.ErrorCode ERROR_D1PAY_NO_CARD_ART_CACHE
An error occurred when the integrator callsD1PayWallet.getCachedCardMetadata(String, D1Task.Callback)getCachedCardMetadata} API to retrieve the local cached copy of card metadata.getCode()value: 50020.NOTE:
Integrator should call theGetCardMetadataandGetAssetList()APIs to update the local cache.Category - D1PAY API
- Since:
- 4.0.0
-
ERROR_D1PAY_NO_CARD_METADATA_CACHE
public static final D1Exception.ErrorCode ERROR_D1PAY_NO_CARD_METADATA_CACHE
An error occurred when the integrator callsD1PayWallet.getCachedCardMetadata(String, D1Task.Callback)getCachedCardMetadata} API to retrieve the local cached card metadata and no cached copy is available.getCode()value: 50021.NOTE:
Integrator should call theGetCardMetadataandGetAssetList()APIs to update the local cache.Category - D1PAY API
- Since:
- 4.0.0
-
ERROR_INVALID_ARGUMENT
public static final D1Exception.ErrorCode ERROR_INVALID_ARGUMENT
Errors encountered whilst executing initialization.getCode()value: 60002.NOTE:
Integrator should check the underlying errors for more details. The required configuration parameters are missing or invalid.
For Samsung Pay, please check if you register the App into Samsung Portal and you provide correct value of serviceId.
For OEM Provisioning (Google Pay & Samsung Pay), make sure to set visaClientAppId onConfigParams.buildConfigCard(Activity, OEMPayType, String, String)
-
ERROR_AUTHN
public static final D1Exception.ErrorCode ERROR_AUTHN
Authn operations failed.getCode()value: 70001.NOTE:
Integrator should check the underlying errors for more details.Category - Authn API
-
ERROR_AUTHN_NOT_ENROLLED
public static final D1Exception.ErrorCode ERROR_AUTHN_NOT_ENROLLED
Authn User is not enrolled.getCode()value: 70002.NOTE:
Integrator should first do authn enroll.Category - Authn API
-
ERROR_AUTHN_ACCESS_DENIED
public static final D1Exception.ErrorCode ERROR_AUTHN_ACCESS_DENIED
Authn Access denied.getCode()value: 70003.NOTE:
Integrator should check whether user authenticate with wrong credential(fingerprint, face etc.)Category - Authn API
-
ERROR_AUTHN_USER_LOCKOUT
public static final D1Exception.ErrorCode ERROR_AUTHN_USER_LOCKOUT
Authn User Locked Out.getCode()value: 70004.NOTE:
Integrator should ask user to wait as user authenticate with wrong credential(fingerprint, face etc.) too many timesCategory - Authn API
-
ERROR_AUTHN_INVALID_ENROLLMENT_TOKEN
public static final D1Exception.ErrorCode ERROR_AUTHN_INVALID_ENROLLMENT_TOKEN
Authn Invalid Enrollment Token.getCode()value: 70005.NOTE:
Integrator should ask user to try again to enroll to get a fresh enrollment tokenCategory - Authn API
-
ERROR_AUTHN_AUTHENTICATOR_NOT_AVAILABLE
public static final D1Exception.ErrorCode ERROR_AUTHN_AUTHENTICATOR_NOT_AVAILABLE
Authn Device is not secured with a PIN, pattern, password or biometric authentication.getCode()value: 70006.NOTE:
Integrator should prompt the end user to set up a device lock before starting the enrollment process.
ForAuthnType#PLATFORMauthenticator type, ensure that the device is enrolled with a PIN, pattern or password. ForAuthnType#BIOMETRICauthenticator type, ensure that the device is enrolled with end user's biometrics.Category - Authn API
-
-
Method Detail
-
values
public static D1Exception.ErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (D1Exception.ErrorCode c : D1Exception.ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static D1Exception.ErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public int getCode()
Deprecated.Please use the new API:D1Exception.getMessage().Retrieves the code number of this error.- Returns:
- The code number.
-
-