OPPErrorCode

enum OPPErrorCode : NSInteger {}

An enumeration for the various types of error that resulted in an operation’s failure.

  • Unsupported transaction payment params.

    Declaration

    Objective-C

    OPPErrorCodePaymentParamsUnsupported = 1000

    Swift

    case paymentParamsUnsupported = 1000
  • Transaction checkoud ID is not valid.

    Declaration

    Objective-C

    OPPErrorCodePaymentParamsCheckoutIDInvalid = 1010

    Swift

    case paymentParamsCheckoutIDInvalid = 1010
  • Brand doesn’t match payment params class.

    Declaration

    Objective-C

    OPPErrorCodePaymentParamsBrandInvalid = 1011

    Swift

    case paymentParamsBrandInvalid = 1011
  • The token identifier is invalid. Must be alpha-numeric string of length 32.

    Declaration

    Objective-C

    OPPErrorCodePaymentParamsTokenIDInvalid = 1090

    Swift

    case paymentParamsTokenIDInvalid = 1090
  • Tokenization is not supported for chosen payment brand.

    Declaration

    Objective-C

    OPPErrorCodePaymentParamsTokenizationUnsupported = 1091

    Swift

    case paymentParamsTokenizationUnsupported = 1091
  • Holder must at least contain first and last name.

    Declaration

    Objective-C

    OPPErrorCodeCardHolderInvalid = 1110

    Swift

    case cardHolderInvalid = 1110
  • Invalid card number. Does not pass the Luhn check.

    Declaration

    Objective-C

    OPPErrorCodeCardNumberInvalid = 1111

    Swift

    case cardNumberInvalid = 1111
  • Unsupported card brand.

    Declaration

    Objective-C

    OPPErrorCodeCardBrandInvalid = 1112

    Swift

    case cardBrandInvalid = 1112
  • Month must be in the format MM.

    Declaration

    Objective-C

    OPPErrorCodeCardMonthInvalidFormat = 1113

    Swift

    case cardMonthInvalidFormat = 1113
  • Year must be in the format YYYY.

    Declaration

    Objective-C

    OPPErrorCodeCardYearInvalidFormat = 1114

    Swift

    case cardYearInvalidFormat = 1114
  • Card is expired.

    Declaration

    Objective-C

    OPPErrorCodeCardExpired = 1115

    Swift

    case cardExpired = 1115
  • CVV invalid. Must be three or four digits.

    Declaration

    Objective-C

    OPPErrorCodeCardCVVInvalid = 1116

    Swift

    case cardCVVInvalid = 1116
  • Holder of the bank account is not valid.

    Declaration

    Objective-C

    OPPErrorCodeBankAccountHolderInvalid = 1130

    Swift

    case bankAccountHolderInvalid = 1130
  • IBAN is not valid.

    Declaration

    Objective-C

    OPPErrorCodeBankAccountIBANInvalid = 1131

    Swift

    case bankAccountIBANInvalid = 1131
  • The country code of the bank is invalid. Should match ISO 3166-1 two-letter standard.

    Declaration

    Objective-C

    OPPErrorCodeBankAccountCountryInvalid = 1132

    Swift

    case bankAccountCountryInvalid = 1132
  • The name of the bank which holds the account is invalid.

    Declaration

    Objective-C

    OPPErrorCodeBankAccountBankNameInvalid = 1133

    Swift

    case bankAccountBankNameInvalid = 1133
  • The BIC (Bank Identifier Code (SWIFT)) number of the bank account is invalid.

    Declaration

    Objective-C

    OPPErrorCodeBankAccountBICInvalid = 1134

    Swift

    case bankAccountBICInvalid = 1134
  • The code associated with the bank account is invalid.

    Declaration

    Objective-C

    OPPErrorCodeBankAccountBankCodeInvalid = 1135

    Swift

    case bankAccountBankCodeInvalid = 1135
  • The account number of the bank account is invalid.

    Declaration

    Objective-C

    OPPErrorCodeBankAccountNumberInvalid = 1136

    Swift

    case bankAccountNumberInvalid = 1136
  • The routing number of the bank account is invalid.

    Declaration

    Objective-C

    OPPErrorCodeBankAccountRoutingNumberInvalid = 1137

    Swift

    case bankAccountRoutingNumberInvalid = 1137
  • The Apple Pay payment token data is invalid. To perform this type of transaction a valid payment token data is needed.

    Declaration

    Objective-C

    OPPErrorCodeApplePayTokenDataInvalid = 1150

    Swift

    case applePayTokenDataInvalid = 1150
  • The Apple Pay authorization rejected by merchant.

    Declaration

    Objective-C

    OPPErrorCodeApplePayAuthorizationDeclined = 1151

    Swift

    case applePayAuthorizationDeclined = 1151
  • The phone number is not valid.

    Declaration

    Objective-C

    OPPErrorCodePhoneNumberInvalid = 1160

    Swift

    case phoneNumberInvalid = 1160
  • The country code is not valid.

    Declaration

    Objective-C

    OPPErrorCodeCountryCodeInvalid = 1161

    Swift

    case countryCodeInvalid = 1161
  • The email is not valid.

    Declaration

    Objective-C

    OPPErrorCodeEmailInvalid = 1162

    Swift

    case emailInvalid = 1162
  • The national identifier is not valid.

    Declaration

    Objective-C

    OPPErrorCodeNationalIdentifierInvalid = 1163

    Swift

    case nationalIdentifierInvalid = 1163
  • The account verification is not valid.

    Declaration

    Objective-C

    OPPErrorCodeAccountVerificationInvalid = 1170

    Swift

    case accountVerificationInvalid = 1170
  • The payment token is invalid. To perform this type of transaction a valid payment token is needed.

    Declaration

    Objective-C

    OPPErrorCodePaymentTokenInvalid = 1180

    Swift

    case paymentTokenInvalid = 1180
  • Checkout info cannot be loaded.

    Declaration

    Objective-C

    OPPErrorCodeCheckoutInfoCannotBeLoaded = 2000

    Swift

    case checkoutInfoCannotBeLoaded = 2000
  • There are no available payment methods in checkout.

    Declaration

    Objective-C

    OPPErrorCodeNoAvailablePaymentMethods = 2001

    Swift

    case noAvailablePaymentMethods = 2001
  • Payment method is not available.

    Declaration

    Objective-C

    OPPErrorCodePaymentMethodNotAvailable = 2002

    Swift

    case paymentMethodNotAvailable = 2002
  • The transaction was aborted.

    Declaration

    Objective-C

    OPPErrorCodeTransactionAborted = 2003

    Swift

    case transactionAborted = 2003
  • Brand validation rules cannot be loaded from.

    Declaration

    Objective-C

    OPPErrorCodeBrandValidationCannotBeLoaded = 2004

    Swift

    case brandValidationCannotBeLoaded = 2004
  • The transaction was declined. Please contact the system administrator of the merchant server to get the reason of failure.

    Declaration

    Objective-C

    OPPErrorCodeTransactionProcessingFailure = 2010

    Swift

    case transactionProcessingFailure = 2010
  • The сheckout configuration is not valid.

    Declaration

    Objective-C

    OPPErrorCodeInvalidCheckoutConfiguration = 2020

    Swift

    case invalidCheckoutConfiguration = 2020
  • Unexpected connection error. Please contact the system administrator of the server.

    Declaration

    Objective-C

    OPPErrorCodeConnectionFailure = 3000

    Swift

    case connectionFailure = 3000
  • Invalid input parameters for the request.

    Declaration

    Objective-C

    OPPErrorCodeRequestParametersInvalid = 3001

    Swift

    case requestParametersInvalid = 3001
  • Invalid response from the Server.

    Declaration

    Objective-C

    OPPErrorCodeServerResponseInvalid = 3002

    Swift

    case serverResponseInvalid = 3002
  • File loaded from resources does not have valid checksum. Make sure you installed the framework correctly and no one has been tampering with the application.

    Declaration

    Objective-C

    OPPErrorCodeSecurityXMLManipulation = 4000

    Swift

    case securityXMLManipulation = 4000
  • Klarna Payments specific error.

    Declaration

    Objective-C

    OPPErrorCodeKlarnaInline = 5001

    Swift

    case klarnaInline = 5001
  • Bancontact Link specific error.

    Declaration

    Objective-C

    OPPErrorCodeBancontactLink = 5002

    Swift

    case bancontactLink = 5002
  • Vipps Link specific error.

    Declaration

    Objective-C

    OPPErrorCodeVippsLink = 5003

    Swift

    case vippsLink = 5003
  • Afterpay Payments specific error.

    Declaration

    Objective-C

    OPPErrorCodeAfterPay = 5004

    Swift

    case afterPay = 5004
  • Clearpay Payments specific error.

    Declaration

    Objective-C

    OPPErrorCodeClearPay = 5005

    Swift

    case clearPay = 5005
  • Blik Payments specific error.

    Declaration

    Objective-C

    OPPErrorCodeBlik = 5006

    Swift

    case blik = 5006
  • 3-D Secure 2 transaction error.

    Declaration

    Objective-C

    OPPErrorCodeThreeDS2Failure = 6000

    Swift

    case threeDS2Failure = 6000
  • 3-D Secure 2 transaction was cancelled.

    Declaration

    Objective-C

    OPPErrorCodeThreeDS2ChallengeCanceled = 6001

    Swift

    case threeDS2ChallengeCanceled = 6001
  • Card Scanning general error.

    Declaration

    Objective-C

    OPPErrorCodeCardScanningGeneralError = 7000

    Swift

    case cardScanningGeneralError = 7000
  • Copy and Pay web loading error.

    Declaration

    Objective-C

    OPPErrorCodeCopyAndPayGeneralError = 8000

    Swift

    case copyAndPayGeneralError = 8000
  • Custom components validation general errror.

    Declaration

    Objective-C

    OPPErrorCodeCustomComponentGeneralError = 9000

    Swift

    case customComponentGeneralError = 9000