Error
public enum Error : Swift.Error
Errors encounterd for contactless payment session.
-
User cancelled the transaction.
Declaration
Swift
case cancelled -
The session has expired due to maximum duration reached.
System allows 60 seconds per session.
Declaration
Swift
case maxSessionDurationReached -
Permission is not granted for NFC.
Declaration
Swift
case nfcPermissionNotAccepted -
The system is not eligible for contactless payment.
Declaration
Swift
case systemEligibilityFailed -
The error encountered in keychain operation.
Declaration
Swift
case keychainError(_: Swift.Error) -
No default card is defined.
Declaration
Swift
case noDefaultCard -
There is no payment keys for the card. Refer to
ReplenishmentServiceto replenish the card.Declaration
Swift
case noPaymentKeys -
Error encountered in APDU exchange between device and POS reader.
Declaration
Swift
case apduFailure(_: String) -
Error encountered in APDU exchange between device and POS reader.
Transmission error. Please retry the payment by calling
startPayment(withDigitalCardID:)Declaration
Swift
case transmissionError -
The card session has been invalidated by system Example: when application goes into background.
Declaration
Swift
case sessionInvalidated -
Unknown error encountered during transaction.
Refer to the underlying error for more details.
Declaration
Swift
case unknown(_: Swift.Error) -
Device Environment Unsafe error
Declaration
Swift
case deviceEnvironmentUnsafe(_: Swift.Error)Parameters
underlyingSwift Error
-
Error encountered in set provided Digital Card ID as default card when
startPayment(withDigitalCardID:)Declaration
Swift
case setDefaultCardFailure -
Digital Card ID provided is invalid
Declaration
Swift
case invalidDigitalCardID -
Error encountered when payment made after validation of authentication
Declaration
Swift
case authenticationExpired -
Error encountered when POS do not have selected AID in the list
Declaration
Swift
case posNotSupported -
The card is not supported for Contactless Payment
Declaration
Swift
case cardNotSupported -
The card selected is not active MPA could do resume the card by calling
manage(digitalCardID:action:)Declaration
Swift
case cardNotActive
Error Enumeration Reference