AuthenticationError
@objc(Checkout3DSAuthenticationError)
public enum AuthenticationError : Int, Error, Equatable, CaseIterable
This enum holds the details for the error result of the authentication process.
Note
This enum conforms to the Swift error type, therefore it will be bridged to Objective-C through the generation of an error domain constant and corresponding error code constants.-
An invalid Session ID was provided.
Declaration
Swift
case invalidSessionID = 1000
-
A sessions API resource was requested without valid authentication credentials. This can occur when an invalid session secret is provided.
Declaration
Swift
case unauthorizedSessionsRequest = 1001
-
The authentication process was cancelled by the user.
Declaration
Swift
case challengeCancelled = 1002
-
The authentication timed out whilst waiting for the user to complete the challenge.
Declaration
Swift
case challengeTimeout = 1003
-
The authentication completed but was unsuccessful.
Declaration
Swift
case authenticationVerificationUnsuccessful = 1004
-
A second authentication request was made before the first request is completed with the same
sessionID
.Declaration
Swift
case duplicateAuthenticationRequest = 1006
-
A second authentication request was made before the first request is completed with a different
sessionID
.Declaration
Swift
case concurrentAuthenticationRequest = 1007
-
The SDK’s info.plist has been modified. To ensure security, the 3DS SDK will not operate will an amended info.plist.
Declaration
Swift
case sdkPListModified = 1008
-
Certificate Transparency for Checkout.com domains have been overridden by the app’s info.plist.
Declaration
Swift
case certificateTransparencyOverriddenByApp = 1009
-
No internet connectivity.
Declaration
Swift
case noInternetConnectivity = 2000
-
Connection failed.
Declaration
Swift
case connectionFailed = 2001
-
Connection timeout.
Declaration
Swift
case connectionTimeout = 2002
-
A client or server connection was severed in the middle of an in-progress load. See NSURLErrorNetworkConnectionLost for more detail.
Declaration
Swift
case connectionLost = 2003
-
The attempted connection required activating a data context while roaming, but international roaming is disabled. See NSURLErrorInternationalRoamingOff for more detail.
Declaration
Swift
case internationalRoamingOff = 2004
-
The URL Loading System encountered an error that it can’t interpret or the error code received from URLSession does not match the ones above. See NSURLErrorUnknown for more detail.
Declaration
Swift
case unknownNetworkError = 2005
-
Certificate Transparency Check Failed.
Declaration
Swift
case certificateTransparencyChecksFailed = 2006
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3010 = 3010
-
Challenge limit of 255 exceeded.
Declaration
Swift
case threeDS2ProtocolError3011 = 3011
-
An error was reported by the card issuer.
Declaration
Swift
case threeDS2ProtocolError3012 = 3012
-
Challenge limit of 255 exceeded.
Declaration
Swift
case threeDS2ProtocolError3013 = 3013
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3101 = 3101
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3102 = 3102
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3201 = 3201
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3202 = 3202
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3203 = 3203
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3204 = 3204
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3302 = 3302
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3303 = 3303
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3304 = 3304
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3305 = 3305
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3306 = 3306
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3307 = 3307
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3308 = 3308
-
The transaction timed out.
Declaration
Swift
case threeDS2ProtocolError3402 = 3402
-
The card issuer reported that authentication could not be performed, due to a technical or other problem.
Declaration
Swift
case threeDS2ProtocolError3500 = 3500
-
An error was reported by the 3DS Server.
Declaration
Swift
case threeDS2ProtocolError3501 = 3501
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3505 = 3505
-
Sessions API: CA Root certificate is missing in Sessions payload /
Declaration
Swift
case threeDS2ProtocolError3514 = 3514
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3515 = 3515
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3523 = 3523
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3524 = 3524
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3525 = 3525
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3526 = 3526
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3527 = 3527
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3528 = 3528
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3529 = 3529
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3530 = 3530
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3533 = 3533
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3534 = 3534
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3536 = 3536
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3537 = 3537
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3538 = 3538
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3540 = 3540
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3541 = 3541
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS2ProtocolError3542 = 3542
-
The SDK identified an error in the challenge data provided by the card issuer.
Declaration
Swift
case threeDS2ProtocolError3543 = 3543
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3544 = 3544
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3545 = 3545
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3546 = 3546
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3547 = 3547
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3548 = 3548
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3549 = 3549
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3550 = 3550
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3551 = 3551
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3552 = 3552
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3553 = 3553
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3554 = 3554
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3555 = 3555
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3556 = 3556
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3557 = 3557
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3558 = 3558
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3559 = 3559
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3560 = 3560
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3561 = 3561
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3562 = 3562
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS2ProtocolError3563 = 3563
-
An internal SDK error occurred.
Declaration
Swift
case internalError4004 = 4004
-
An internal SDK error occurred.
Declaration
Swift
case internalError4005 = 4005
-
An internal SDK error occurred.
Declaration
Swift
case internalError4018 = 4018
-
An internal SDK error occurred.
Declaration
Swift
case internalError4019 = 4019
-
An internal SDK error occurred.
Declaration
Swift
case internalError4020 = 4020
-
An internal SDK error occurred.
Declaration
Swift
case internalError4023 = 4023
-
An internal SDK error occurred.
Declaration
Swift
case internalError4024 = 4024
-
An internal SDK error occurred.
Declaration
Swift
case internalError4025 = 4025
-
An internal SDK error occurred.
Declaration
Swift
case internalError4026 = 4026
-
An internal SDK error occurred.
Declaration
Swift
case internalError4027 = 4027
-
An internal SDK error occurred.
Declaration
Swift
case internalError4028 = 4028
-
An internal SDK error occurred.
Declaration
Swift
case internalError4030 = 4030
-
An internal SDK error occurred.
Declaration
Swift
case internalError4031 = 4031
-
An internal SDK error occurred.
Declaration
Swift
case internalError4032 = 4032
-
An internal SDK error occurred.
Declaration
Swift
case internalError4034 = 4034
-
An internal SDK error occurred.
Declaration
Swift
case internalError4035 = 4035
-
An internal SDK error occurred.
Declaration
Swift
case internalError4036 = 4036
-
An internal SDK error occurred.
Declaration
Swift
case internalError4037 = 4037
-
An internal SDK error occurred.
Declaration
Swift
case internalError4038 = 4038
-
An internal SDK error occurred.
Declaration
Swift
case internalError4039 = 4039
-
An internal SDK error occurred.
Declaration
Swift
case internalError4040 = 4040
-
An internal SDK error occurred.
Declaration
Swift
case internalError4042 = 4042
-
An internal SDK error occurred.
Declaration
Swift
case internalError4043 = 4043
-
An internal SDK error occurred.
Declaration
Swift
case internalError4044 = 4044
-
An internal SDK error occurred.
Declaration
Swift
case internalError4045 = 4045
-
An internal SDK error occurred.
Declaration
Swift
case internalError4048 = 4048
-
An internal SDK error occurred.
Declaration
Swift
case internalError4049 = 4049
-
An internal SDK error occurred.
Declaration
Swift
case internalError4050 = 4050
-
An internal SDK error occurred.
Declaration
Swift
case internalError4051 = 4051
-
An internal SDK error occurred.
Declaration
Swift
case internalError4052 = 4052
-
An internal SDK error occurred.
Declaration
Swift
case internalError4053 = 4053
-
An internal SDK error occurred.
Declaration
Swift
case internalError4054 = 4054
-
A response from the card issuer could not be validated.
Declaration
Swift
case threeDS1ProtocolError5001 = 5001
-
The card issuer reported an error.
Declaration
Swift
case threeDS1ProtocolError5002 = 5002
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS1ProtocolError5003 = 5003
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS1ProtocolError5004 = 5004
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS1ProtocolError5006 = 5006
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS1ProtocolError5007 = 5007
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS1ProtocolError5008 = 5008
-
The SDK identified an error in the 3D Secure process.
Declaration
Swift
case threeDS1ProtocolError5500 = 5500