JudoErrorCode
public enum JudoErrorCode: Int
A mirror of the backend error set
- General_Error: General_Error
- General_Model_Error: General_Model_Error
- Unauthorized: Unauthorized
- Payment_System_Error: Payment_System_Error
- Payment_Declined: Payment_Declined
- Payment_Failed: Payment_Failed
- Transaction_Not_Found: Transaction_Not_Found
- Validation_Passed: Validation_Passed
- Uncaught_Error: Uncaught_Error
- Server_Error: Server_Error
- Invalid_From_Date: Invalid_From_Date
- Invalid_To_Date: Invalid_To_Date
- CantFindWebPayment: CantFindWebPayment
- General_Error_Simple_Application: General_Error_Simple_Application
- InvalidApiVersion: InvalidApiVersion
- MissingApiVersion: MissingApiVersion
- PreAuthExpired: PreAuthExpired
- Collection_Original_Transaction_Wrong_Type: Collection_Original_Transaction_Wrong_Type
- Currency_Must_Equal_Original_Transaction: Currency_Must_Equal_Original_Transaction
- Cannot_Collect_A_Voided_Transaction: Cannot_Collect_A_Voided_Transaction
- Collection_Exceeds_PreAuth: Collection_Exceeds_PreAuth
- Refund_Original_Transaction_Wrong_Type: Refund_Original_Transaction_Wrong_Type
- Cannot_Refund_A_Voided_Transaction: Cannot_Refund_A_Voided_Transaction
- Refund_Exceeds_Original_Transaction: Refund_Exceeds_Original_Transaction
- Void_Original_Transaction_Wrong_Type: Void_Original_Transaction_Wrong_Type
- Void_Original_Transaction_Is_Already_Void: Void_Original_Transaction_Is_Already_Void
- Void_Original_Transaction_Has_Been_Collected: Void_Original_Transaction_Has_Been_Collected
- Void_Original_Transaction_Amount_Not_Equal_To_Preauth: Void_Original_Transaction_Amount_Not_Equal_To_Preauth
- UnableToAccept: UnableToAccept
- AccountLocationNotFound: AccountLocationNotFound
- AccessDeniedToTransaction: AccessDeniedToTransaction
- NoConsumerForTransaction: NoConsumerForTransaction
- TransactionNotEnrolledInThreeDSecure: TransactionNotEnrolledInThreeDSecure
- TransactionAlreadyAuthorizedByThreeDSecure: TransactionAlreadyAuthorizedByThreeDSecure
- ThreeDSecureNotSuccessful: ThreeDSecureNotSuccessful
- ApUnableToDecrypt: ApUnableToDecrypt
- ReferencedTransactionNotFound: ReferencedTransactionNotFound
- ReferencedTransactionNotSuccessful: ReferencedTransactionNotSuccessful
- TestCardNotAllowed: TestCardNotAllowed
- Collection_Not_Valid: Collection_Not_Valid
- Refund_Original_Transaction_Null: Refund_Original_Transaction_Null
- Refund_Not_Valid: Refund_Not_Valid
- Void_Not_Valid: Void_Not_Valid
- Unknown: Unknown
- CardTokenInvalid: CardTokenInvalid
- UnknownPaymentModel: UnknownPaymentModel
- UnableToRouteTransaction: UnableToRouteTransaction
- CardTypeNotSupported: CardTypeNotSupported
- CardCv2Invalid: CardCv2Invalid
- CardTokenDoesntMatchConsumer: CardTokenDoesntMatchConsumer
- WebPaymentReferenceInvalid: WebPaymentReferenceInvalid
- WebPaymentAccountLocationNotFound: WebPaymentAccountLocationNotFound
- RegisterCardWithWrongTransactionType: RegisterCardWithWrongTransactionType
- InvalidAmountToRegisterCard: InvalidAmountToRegisterCard
- ContentTypeNotSpecifiedOrUnsupported: ContentTypeNotSpecifiedOrUnsupported
- InternalErrorAuthenticating: InternalErrorAuthenticating
- TransactionNotFound: TransactionNotFound
- ResourceNotFound: ResourceNotFound
- LackOfPermissionsUnauthorized: LackOfPermissionsUnauthorized
- ContentTypeNotSupported: ContentTypeNotSupported
- AuthenticationFailure: AuthenticationFailure
- Not_Found: Not_Found
- MustProcessPreAuthByToken: MustProcessPreAuthByToken
- ApplicationModelIsNull: ApplicationModelIsNull
- ApplicationModelRequiresReference: ApplicationModelRequiresReference
- ApplicationHasAlreadyGoneLive: ApplicationHasAlreadyGoneLive
- MissingProductSelection: MissingProductSelection
- AccountNotInSandbox: AccountNotInSandbox
- ApplicationRecIdRequired: ApplicationRecIdRequired
- RequestNotProperlyFormatted: RequestNotProperlyFormatted
- NoApplicationReferenceFound: NoApplicationReferenceFound
- NotSupportedFileType: NotSupportedFileType
- ErrorWithFileUpload: ErrorWithFileUpload
- EmptyApplicationReference: EmptyApplicationReference
- ApplicationDoesNotExist: ApplicationDoesNotExist
- UnknownSortSpecified: UnknownSortSpecified
- PageSizeLessThanOne: PageSizeLessThanOne
- PageSizeMoreThanFiveHundred: PageSizeMoreThanFiveHundred
- OffsetLessThanZero: OffsetLessThanZero
- InvalidMerchantId: InvalidMerchantId
- MerchantIdNotFound: MerchantIdNotFound
- NoProductsWereFound: NoProductsWereFound
- OnlyTheJudoPartnerCanSubmitSimpleApplications: OnlyTheJudoPartnerCanSubmitSimpleApplications
- UnableToParseDocument: UnableToParseDocument
- UnableToFindADefaultAccountLocation: UnableToFindADefaultAccountLocation
- WebpaymentsShouldBeCreatedByPostingToUrl: WebpaymentsShouldBeCreatedByPostingToUrl
- InvalidMd: InvalidMd
- InvalidReceiptId: InvalidReceiptId
- ParameterError: ParameterError
- ResponseParseError: ResponseParseError
- LuhnValidationError: LuhnValidationError
- JudoIDInvalidError: JudoIDInvalidError
- SerializationError: SerializationError
- RequestError: RequestError
- TokenSecretError: TokenSecretError
- AmountMissingError: AmountMissingError
- CardAndTokenError: CardAndTokenError
- CardOrTokenMissingError: CardOrTokenMissingError
- PKPaymentMissingError: PKPaymentMissingError
- JailbrokenDeviceDisallowedError: JailbrokenDeviceDisallowedError
- InvalidOperationError: InvalidOperationError
- DuplicateTransactionError: DuplicateTransactionError
- CurrencyNotSupportedError: CurrencyNotSupportedError
- LocationServicesDisabled: LocationServicesDisabled
- CardLengthMismatchError: CardLengthMismatchError
- InputLengthMismatchError: InputLengthMismatchError
- InvalidCardNumber: InvalidCardNumber
- InvalidEntry: InvalidEntry
- InvalidCardNetwork: InvalidCardNetwork
- InvalidPostCodeError: InvalidPostCodeError
- ThreeDSAuthRequest: ThreeDSAuthRequest
- Failed3DSError: Failed3DSError
- UnknownError: UnknownError
- UserDidCancel: UserDidCancel
-
General_Error
Declaration
Swift
case General_Error = 0
-
General_Model_Error
Declaration
Swift
case General_Model_Error = 1
-
Unauthorized
Declaration
Swift
case Unauthorized = 7
-
Payment_System_Error
Declaration
Swift
case Payment_System_Error = 9
-
Payment_Declined
Declaration
Swift
case Payment_Declined = 11
-
Payment_Failed
Declaration
Swift
case Payment_Failed = 12
-
Transaction_Not_Found
Declaration
Swift
case Transaction_Not_Found = 19
-
Validation_Passed
Declaration
Swift
case Validation_Passed = 20
-
Uncaught_Error
Declaration
Swift
case Uncaught_Error = 21
-
Server_Error
Declaration
Swift
case Server_Error = 22
-
Invalid_From_Date
Declaration
Swift
case Invalid_From_Date = 23
-
Invalid_To_Date
Declaration
Swift
case Invalid_To_Date = 24
-
CantFindWebPayment
Declaration
Swift
case CantFindWebPayment = 25
-
General_Error_Simple_Application
Declaration
Swift
case General_Error_Simple_Application = 26
-
InvalidApiVersion
Declaration
Swift
case InvalidApiVersion = 40
-
MissingApiVersion
Declaration
Swift
case MissingApiVersion = 41
-
PreAuthExpired
Declaration
Swift
case PreAuthExpired = 42
-
Collection_Original_Transaction_Wrong_Type
Declaration
Swift
case Collection_Original_Transaction_Wrong_Type = 43
-
Currency_Must_Equal_Original_Transaction
Declaration
Swift
case Currency_Must_Equal_Original_Transaction = 44
-
Cannot_Collect_A_Voided_Transaction
Declaration
Swift
case Cannot_Collect_A_Voided_Transaction = 45
-
Collection_Exceeds_PreAuth
Declaration
Swift
case Collection_Exceeds_PreAuth = 46
-
Refund_Original_Transaction_Wrong_Type
Declaration
Swift
case Refund_Original_Transaction_Wrong_Type = 47
-
Cannot_Refund_A_Voided_Transaction
Declaration
Swift
case Cannot_Refund_A_Voided_Transaction = 48
-
Refund_Exceeds_Original_Transaction
Declaration
Swift
case Refund_Exceeds_Original_Transaction = 49
-
Void_Original_Transaction_Wrong_Type
Declaration
Swift
case Void_Original_Transaction_Wrong_Type = 50
-
Void_Original_Transaction_Is_Already_Void
Declaration
Swift
case Void_Original_Transaction_Is_Already_Void = 51
-
Void_Original_Transaction_Has_Been_Collected
Declaration
Swift
case Void_Original_Transaction_Has_Been_Collected = 52
-
Void_Original_Transaction_Amount_Not_Equal_To_Preauth
Declaration
Swift
case Void_Original_Transaction_Amount_Not_Equal_To_Preauth = 53
-
UnableToAccept
Declaration
Swift
case UnableToAccept = 54
-
AccountLocationNotFound
Declaration
Swift
case AccountLocationNotFound = 55
-
AccessDeniedToTransaction
Declaration
Swift
case AccessDeniedToTransaction = 56
-
NoConsumerForTransaction
Declaration
Swift
case NoConsumerForTransaction = 57
-
TransactionNotEnrolledInThreeDSecure
Declaration
Swift
case TransactionNotEnrolledInThreeDSecure = 58
-
TransactionAlreadyAuthorizedByThreeDSecure
Declaration
Swift
case TransactionAlreadyAuthorizedByThreeDSecure = 59
-
ThreeDSecureNotSuccessful
Declaration
Swift
case ThreeDSecureNotSuccessful = 60
-
ApUnableToDecrypt
Declaration
Swift
case ApUnableToDecrypt = 61
-
ReferencedTransactionNotFound
Declaration
Swift
case ReferencedTransactionNotFound = 62
-
ReferencedTransactionNotSuccessful
Declaration
Swift
case ReferencedTransactionNotSuccessful = 63
-
TestCardNotAllowed
Declaration
Swift
case TestCardNotAllowed = 64
-
Collection_Not_Valid
Declaration
Swift
case Collection_Not_Valid = 65
-
Refund_Original_Transaction_Null
Declaration
Swift
case Refund_Original_Transaction_Null = 66
-
Refund_Not_Valid
Declaration
Swift
case Refund_Not_Valid = 67
-
Void_Not_Valid
Declaration
Swift
case Void_Not_Valid = 68
-
Unknown
Declaration
Swift
case Unknown = 69
-
CardTokenInvalid
Declaration
Swift
case CardTokenInvalid = 70
-
UnknownPaymentModel
Declaration
Swift
case UnknownPaymentModel = 71
-
UnableToRouteTransaction
Declaration
Swift
case UnableToRouteTransaction = 72
-
CardTypeNotSupported
Declaration
Swift
case CardTypeNotSupported = 73
-
CardCv2Invalid
Declaration
Swift
case CardCv2Invalid = 74
-
CardTokenDoesntMatchConsumer
Declaration
Swift
case CardTokenDoesntMatchConsumer = 75
-
WebPaymentReferenceInvalid
Declaration
Swift
case WebPaymentReferenceInvalid = 76
-
WebPaymentAccountLocationNotFound
Declaration
Swift
case WebPaymentAccountLocationNotFound = 77
-
RegisterCardWithWrongTransactionType
Declaration
Swift
case RegisterCardWithWrongTransactionType = 78
-
InvalidAmountToRegisterCard
Declaration
Swift
case InvalidAmountToRegisterCard = 79
-
ContentTypeNotSpecifiedOrUnsupported
Declaration
Swift
case ContentTypeNotSpecifiedOrUnsupported = 80
-
InternalErrorAuthenticating
Declaration
Swift
case InternalErrorAuthenticating = 81
-
TransactionNotFound
Declaration
Swift
case TransactionNotFound = 82
-
ResourceNotFound
Declaration
Swift
case ResourceNotFound = 83
-
LackOfPermissionsUnauthorized
Declaration
Swift
case LackOfPermissionsUnauthorized = 84
-
ContentTypeNotSupported
Declaration
Swift
case ContentTypeNotSupported = 85
-
AuthenticationFailure
Declaration
Swift
case AuthenticationFailure = 403
-
Not_Found
Declaration
Swift
case Not_Found = 404
-
MustProcessPreAuthByToken
Declaration
Swift
case MustProcessPreAuthByToken = 4002
-
ApplicationModelIsNull
Declaration
Swift
case ApplicationModelIsNull = 20000
-
ApplicationModelRequiresReference
Declaration
Swift
case ApplicationModelRequiresReference = 20001
-
ApplicationHasAlreadyGoneLive
Declaration
Swift
case ApplicationHasAlreadyGoneLive = 20002
-
MissingProductSelection
Declaration
Swift
case MissingProductSelection = 20003
-
AccountNotInSandbox
Declaration
Swift
case AccountNotInSandbox = 20004
-
ApplicationRecIdRequired
Declaration
Swift
case ApplicationRecIdRequired = 20005
-
RequestNotProperlyFormatted
Declaration
Swift
case RequestNotProperlyFormatted = 20006
-
NoApplicationReferenceFound
Declaration
Swift
case NoApplicationReferenceFound = 20007
-
NotSupportedFileType
Declaration
Swift
case NotSupportedFileType = 20008
-
ErrorWithFileUpload
Declaration
Swift
case ErrorWithFileUpload = 20009
-
EmptyApplicationReference
Declaration
Swift
case EmptyApplicationReference = 20010
-
ApplicationDoesNotExist
Declaration
Swift
case ApplicationDoesNotExist = 20011
-
UnknownSortSpecified
Declaration
Swift
case UnknownSortSpecified = 20013
-
PageSizeLessThanOne
Declaration
Swift
case PageSizeLessThanOne = 20014
-
PageSizeMoreThanFiveHundred
Declaration
Swift
case PageSizeMoreThanFiveHundred = 20015
-
OffsetLessThanZero
Declaration
Swift
case OffsetLessThanZero = 20016
-
InvalidMerchantId
Declaration
Swift
case InvalidMerchantId = 20017
-
MerchantIdNotFound
Declaration
Swift
case MerchantIdNotFound = 20018
-
NoProductsWereFound
Declaration
Swift
case NoProductsWereFound = 20019
-
OnlyTheJudoPartnerCanSubmitSimpleApplications
Declaration
Swift
case OnlyTheJudoPartnerCanSubmitSimpleApplications = 20020
-
UnableToParseDocument
Declaration
Swift
case UnableToParseDocument = 20021
-
UnableToFindADefaultAccountLocation
Declaration
Swift
case UnableToFindADefaultAccountLocation = 20022
-
WebpaymentsShouldBeCreatedByPostingToUrl
Declaration
Swift
case WebpaymentsShouldBeCreatedByPostingToUrl = 20023
-
InvalidMd
Declaration
Swift
case InvalidMd = 20025
-
InvalidReceiptId
Declaration
Swift
case InvalidReceiptId = 20026
-
ParameterError
Declaration
Swift
case ParameterError
-
ResponseParseError
Declaration
Swift
case ResponseParseError
-
LuhnValidationError
Declaration
Swift
case LuhnValidationError
-
JudoIDInvalidError
Declaration
Swift
case JudoIDInvalidError
-
SerializationError
Declaration
Swift
case SerializationError
-
RequestError
Declaration
Swift
case RequestError
-
TokenSecretError
Declaration
Swift
case TokenSecretError
-
CardAndTokenError
Declaration
Swift
case CardAndTokenError
-
AmountMissingError
Declaration
Swift
case AmountMissingError
-
CardOrTokenMissingError
Declaration
Swift
case CardOrTokenMissingError
-
PKPaymentMissingError
Declaration
Swift
case PKPaymentMissingError
-
JailbrokenDeviceDisallowedError
Declaration
Swift
case JailbrokenDeviceDisallowedError
-
InvalidOperationError
Declaration
Swift
case InvalidOperationError
-
DuplicateTransactionError
Declaration
Swift
case DuplicateTransactionError
-
CurrencyNotSupportedError
Declaration
Swift
case CurrencyNotSupportedError
-
LocationServicesDisabled = 91
Declaration
Swift
case LocationServicesDisabled = 91
-
CardLengthMismatchError
Declaration
Swift
case CardLengthMismatchError
-
InputLengthMismatchError
Declaration
Swift
case InputLengthMismatchError
-
InvalidCardNumber
Declaration
Swift
case InvalidCardNumber
-
InvalidEntry
Declaration
Swift
case InvalidEntry
-
InvalidCardNetwork
Declaration
Swift
case InvalidCardNetwork
-
InvalidPostCode
Declaration
Swift
case InvalidPostCode
-
Not a real error but needed to identify when a 3DS routing has been requested by the judo API
Declaration
Swift
case ThreeDSAuthRequest
-
Failed3DSError
Declaration
Swift
case Failed3DSError
-
UnknownError
Declaration
Swift
case UnknownError
-
Received when user cancels the payment
Declaration
Swift
case UserDidCancel = -999