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
  • Unauthorized

    Declaration

    Swift

    case Unauthorized = 7
  • Payment_Declined

    Declaration

    Swift

    case Payment_Declined = 11
  • Payment_Failed

    Declaration

    Swift

    case Payment_Failed = 12
  • Uncaught_Error

    Declaration

    Swift

    case Uncaught_Error = 21
  • Server_Error

    Declaration

    Swift

    case Server_Error = 22
  • Invalid_To_Date

    Declaration

    Swift

    case Invalid_To_Date = 24
  • PreAuthExpired

    Declaration

    Swift

    case PreAuthExpired = 42
  • UnableToAccept

    Declaration

    Swift

    case UnableToAccept = 54
  • 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
  • CardCv2Invalid

    Declaration

    Swift

    case CardCv2Invalid = 74
  • ResourceNotFound

    Declaration

    Swift

    case ResourceNotFound = 83
  • Not_Found

    Declaration

    Swift

    case Not_Found = 404
  • InvalidMerchantId

    Declaration

    Swift

    case InvalidMerchantId = 20017
  • InvalidMd

    Declaration

    Swift

    case InvalidMd = 20025
  • InvalidReceiptId

    Declaration

    Swift

    case InvalidReceiptId = 20026
  • RequestError

    Declaration

    Swift

    case RequestError
  • InvalidEntry

    Declaration

    Swift

    case InvalidEntry
  • Not a real error but needed to identify when a 3DS routing has been requested by the judo API

    Declaration

    Swift

    case ThreeDSAuthRequest
  • UnknownError

    Declaration

    Swift

    case UnknownError
  • Received when user cancels the payment

    Declaration

    Swift

    case UserDidCancel = -999