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 = 1000Swift
case paymentParamsUnsupported = 1000 -
Transaction checkoud ID is not valid.
Declaration
Objective-C
OPPErrorCodePaymentParamsCheckoutIDInvalid = 1010Swift
case paymentParamsCheckoutIDInvalid = 1010 -
Brand doesn’t match payment params class.
Declaration
Objective-C
OPPErrorCodePaymentParamsBrandInvalid = 1011Swift
case paymentParamsBrandInvalid = 1011 -
Device authentication check failed
Declaration
Objective-C
OPPErrorCodeDeviceAuthenticationCheckFailed = 1012Swift
case deviceAuthenticationCheckFailed = 1012 -
The token identifier is invalid. Must be alpha-numeric string of length 32.
Declaration
Objective-C
OPPErrorCodePaymentParamsTokenIDInvalid = 1090Swift
case paymentParamsTokenIDInvalid = 1090 -
Tokenization is not supported for chosen payment brand.
Declaration
Objective-C
OPPErrorCodePaymentParamsTokenizationUnsupported = 1091Swift
case paymentParamsTokenizationUnsupported = 1091 -
Holder must at least contain first and last name.
Declaration
Objective-C
OPPErrorCodeCardHolderInvalid = 1110Swift
case cardHolderInvalid = 1110 -
Invalid card number. Does not pass the Luhn check.
Declaration
Objective-C
OPPErrorCodeCardNumberInvalid = 1111Swift
case cardNumberInvalid = 1111 -
Unsupported card brand.
Declaration
Objective-C
OPPErrorCodeCardBrandInvalid = 1112Swift
case cardBrandInvalid = 1112 -
Month must be in the format MM.
Declaration
Objective-C
OPPErrorCodeCardMonthInvalidFormat = 1113Swift
case cardMonthInvalidFormat = 1113 -
Year must be in the format YYYY.
Declaration
Objective-C
OPPErrorCodeCardYearInvalidFormat = 1114Swift
case cardYearInvalidFormat = 1114 -
Card is expired.
Declaration
Objective-C
OPPErrorCodeCardExpired = 1115Swift
case cardExpired = 1115 -
CVV invalid. Must be three or four digits.
Declaration
Objective-C
OPPErrorCodeCardCVVInvalid = 1116Swift
case cardCVVInvalid = 1116 -
Holder of the bank account is not valid.
Declaration
Objective-C
OPPErrorCodeBankAccountHolderInvalid = 1130Swift
case bankAccountHolderInvalid = 1130 -
IBAN is not valid.
Declaration
Objective-C
OPPErrorCodeBankAccountIBANInvalid = 1131Swift
case bankAccountIBANInvalid = 1131 -
The country code of the bank is invalid. Should match ISO 3166-1 two-letter standard.
Declaration
Objective-C
OPPErrorCodeBankAccountCountryInvalid = 1132Swift
case bankAccountCountryInvalid = 1132 -
The name of the bank which holds the account is invalid.
Declaration
Objective-C
OPPErrorCodeBankAccountBankNameInvalid = 1133Swift
case bankAccountBankNameInvalid = 1133 -
The BIC (Bank Identifier Code (SWIFT)) number of the bank account is invalid.
Declaration
Objective-C
OPPErrorCodeBankAccountBICInvalid = 1134Swift
case bankAccountBICInvalid = 1134 -
The code associated with the bank account is invalid.
Declaration
Objective-C
OPPErrorCodeBankAccountBankCodeInvalid = 1135Swift
case bankAccountBankCodeInvalid = 1135 -
The account number of the bank account is invalid.
Declaration
Objective-C
OPPErrorCodeBankAccountNumberInvalid = 1136Swift
case bankAccountNumberInvalid = 1136 -
The routing number of the bank account is invalid.
Declaration
Objective-C
OPPErrorCodeBankAccountRoutingNumberInvalid = 1137Swift
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 = 1150Swift
case applePayTokenDataInvalid = 1150 -
The Apple Pay authorization rejected by merchant.
Declaration
Objective-C
OPPErrorCodeApplePayAuthorizationDeclined = 1151Swift
case applePayAuthorizationDeclined = 1151 -
Unable to submit Apple pay request
Declaration
Objective-C
OPPErrorCodeApplePayRequestSubmitionFailed = 1152Swift
case applePayRequestSubmitionFailed = 1152 -
Unable to submit Apple pay recurring request
Declaration
Objective-C
OPPErrorCodeApplePayRecurringRequestSubmitionFailed = 1153Swift
case applePayRecurringRequestSubmitionFailed = 1153 -
The phone number is not valid.
Declaration
Objective-C
OPPErrorCodePhoneNumberInvalid = 1160Swift
case phoneNumberInvalid = 1160 -
The country code is not valid.
Declaration
Objective-C
OPPErrorCodeCountryCodeInvalid = 1161Swift
case countryCodeInvalid = 1161 -
The email is not valid.
Declaration
Objective-C
OPPErrorCodeEmailInvalid = 1162Swift
case emailInvalid = 1162 -
The national identifier is not valid.
Declaration
Objective-C
OPPErrorCodeNationalIdentifierInvalid = 1163Swift
case nationalIdentifierInvalid = 1163 -
The account verification is not valid.
Declaration
Objective-C
OPPErrorCodeAccountVerificationInvalid = 1170Swift
case accountVerificationInvalid = 1170 -
The payment token is invalid. To perform this type of transaction a valid payment token is needed.
Declaration
Objective-C
OPPErrorCodePaymentTokenInvalid = 1180Swift
case paymentTokenInvalid = 1180 -
Checkout info cannot be loaded.
Declaration
Objective-C
OPPErrorCodeCheckoutInfoCannotBeLoaded = 2000Swift
case checkoutInfoCannotBeLoaded = 2000 -
There are no available payment methods in checkout.
Declaration
Objective-C
OPPErrorCodeNoAvailablePaymentMethods = 2001Swift
case noAvailablePaymentMethods = 2001 -
Payment method is not available.
Declaration
Objective-C
OPPErrorCodePaymentMethodNotAvailable = 2002Swift
case paymentMethodNotAvailable = 2002 -
The transaction was aborted.
Declaration
Objective-C
OPPErrorCodeTransactionAborted = 2003Swift
case transactionAborted = 2003 -
Brand validation rules cannot be loaded from.
Declaration
Objective-C
OPPErrorCodeBrandValidationCannotBeLoaded = 2004Swift
case brandValidationCannotBeLoaded = 2004 -
Checkout data cannot be loaded.
Declaration
Objective-C
OPPErrorCodeCheckoutDataCannotBeLoaded = 2005Swift
case checkoutDataCannotBeLoaded = 2005 -
The transaction was declined. Please contact the system administrator of the merchant server to get the reason of failure.
Declaration
Objective-C
OPPErrorCodeTransactionProcessingFailure = 2010Swift
case transactionProcessingFailure = 2010 -
The сheckout configuration is not valid.
Declaration
Objective-C
OPPErrorCodeInvalidCheckoutConfiguration = 2020Swift
case invalidCheckoutConfiguration = 2020 -
Unexpected connection error. Please contact the system administrator of the server.
Declaration
Objective-C
OPPErrorCodeConnectionFailure = 3000Swift
case connectionFailure = 3000 -
Invalid input parameters for the request.
Declaration
Objective-C
OPPErrorCodeRequestParametersInvalid = 3001Swift
case requestParametersInvalid = 3001 -
Invalid response from the Server.
Declaration
Objective-C
OPPErrorCodeServerResponseInvalid = 3002Swift
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 = 4000Swift
case securityXMLManipulation = 4000 -
Klarna Payments specific error.
Declaration
Objective-C
OPPErrorCodeKlarnaInline = 5001Swift
case klarnaInline = 5001 -
Bancontact Link specific error.
Declaration
Objective-C
OPPErrorCodeBancontactLink = 5002Swift
case bancontactLink = 5002 -
Vipps Link specific error.
Declaration
Objective-C
OPPErrorCodeVippsLink = 5003Swift
case vippsLink = 5003 -
Afterpay Payments specific error.
Declaration
Objective-C
OPPErrorCodeAfterPay = 5004Swift
case afterPay = 5004 -
Clearpay Payments specific error.
Declaration
Objective-C
OPPErrorCodeClearPay = 5005Swift
case clearPay = 5005 -
Blik Payments specific error.
Declaration
Objective-C
OPPErrorCodeBlik = 5006Swift
case blik = 5006 -
CashAppPay Payments specific error.
Declaration
Objective-C
OPPErrorCodeCashAppPay = 5007Swift
case cashAppPay = 5007 -
Affirm Payments specific error.
Declaration
Objective-C
OPPErrorCodeAffirm = 5008Swift
case affirm = 5008 -
AmazonPay Payments specific error.
Declaration
Objective-C
OPPErrorCodeAmazonPay = 5009Swift
case amazonPay = 5009 -
MobilePay Link specific error.
Declaration
Objective-C
OPPErrorCodeMobilePayLink = 5010Swift
case mobilePayLink = 5010 -
3-D Secure 2 transaction error.
Declaration
Objective-C
OPPErrorCodeThreeDS2Failure = 6000Swift
case threeDS2Failure = 6000 -
3-D Secure 2 transaction was cancelled.
Declaration
Objective-C
OPPErrorCodeThreeDS2ChallengeCanceled = 6001Swift
case threeDS2ChallengeCanceled = 6001 -
Card Scanning general error.
Declaration
Objective-C
OPPErrorCodeCardScanningGeneralError = 7000Swift
case cardScanningGeneralError = 7000 -
Copy and Pay web loading error.
Declaration
Objective-C
OPPErrorCodeCopyAndPayGeneralError = 8000Swift
case copyAndPayGeneralError = 8000 -
Custom components validation general errror.
Declaration
Objective-C
OPPErrorCodeCustomComponentGeneralError = 9000Swift
case customComponentGeneralError = 9000
OPPErrorCode Enumeration Reference