pub enum ResponseCode {
Show 134 variants
Approved,
REFERRAL,
BadResponseReversalRequired,
PartialAuthorization,
InvalidDataFormat,
InvalidAmount,
InvalidTransactionCardIssuerAcquirer,
InvalidCaptureDate,
InvalidCurrencyCode,
InvalidAccount,
InvalidAccountRecurring,
InvalidTerminal,
InvalidMerchant,
BadProcessingCode,
InvalidMcc,
InvalidExpiration,
InvalidCardVerificationValue,
InvalidLifeCycleOfTransaction,
InvalidOrder,
TransactionCannotBeCompleted,
DoNotHonor,
GenericDecline,
CVV2Failure,
InsufficientFunds,
InvalidPin,
CardClosed,
PickupCardSpecialConditions,
UnauthorizedUser,
AVSFailure,
InvalidOrRestrictedCard,
SoftAvs,
DuplicateTransaction,
InvalidTransaction,
ExpiredCard,
IncorrectPinReentered,
TransactionNotPermitted,
ReversalRejected,
InvalidIssue,
IssuerNotAvailableNotRetriable,
IssuerNotAvailableRetriable,
AccountNotOnFile,
ApprovedNonCapture,
Error3DS,
AuthenticationFailed,
BinError,
PinError,
ProcessorSystemError,
HostKeyError,
ConfigurationError,
UnsupportedTransaction,
FatalCommunicationError,
RetriableCommunicationError,
SystemUnavailable,
DeclinedPleaseRetry,
SuspectedFraud,
SecurityViolation,
LostOrStolen,
HoldCallCenter,
RefusedCard,
UnrecognizedResponseCode,
CardNotActivated,
ProMidUndefined,
CeRegistrationIncomplete,
NetworkError,
ConnectionError,
CardTypeUnsupported,
TransactionTypeUnsupported,
CurrencyUsedInvalid,
QuasiCashUnsupported,
ValidationError,
VirtualTerminalUnsupported,
DccUnsupported,
InternalSystemError,
IdMismatch,
H1Error,
StatusDescription,
AdultGamingUnsupported,
LargeStatusCode,
Country,
BillingAddress,
MCCCode,
CurrencyCodeUnsupported,
UnsupportedReversal,
ValidateCurrency,
BankAuthRowMismatch,
BankAuthRowNotFound,
BankAuthRowVoided,
BankAuthExpired,
CurrencyMismatch,
CreditCardMismatch,
AmountMismatch,
InvalidParentTransactionStatus,
ExpiryDate,
AmountExceeded,
AuthMessage,
DinersReject,
AuthResult,
BadGaming,
GamingRefundError,
CreditError,
AmountIncompatible,
IdempotencyFailure,
BlockedMastercard,
AmexDisabled,
FieldValidationFailed,
InvalidInputFailure,
InvalidPaymentMethod,
UserNotAuthorized,
InvalidFundingInstrument,
ExpiredFundingInstrument,
RestrictedFundingInstrument,
ExceedsFrequencyLimit,
CVVFailure,
InvalidVerificationToken,
VerificationTokenExpired,
InvalidProduct,
InvalidTraceId,
InvalidTraceReference,
FundingSourceAlreadyExists,
VerificationTokenRevoked,
InvalidTransactionId,
SecureError3DS,
NoPhoneForDCCTransaction,
ArcAvs,
ArcCvv,
NoDobPresent,
LateReversal,
NotSupportedNrc,
MerchantNotRegistered,
ArcScore,
AmexDenied,
UnsupportEntity,
UnsupportPosFlag,
UnsupportRefundOnPendingBc,
}
Expand description
Processor response code for the non-PayPal payment processor errors.
Variants§
Approved
REFERRAL
BadResponseReversalRequired
PartialAuthorization
InvalidDataFormat
InvalidAmount
InvalidTransactionCardIssuerAcquirer
InvalidCaptureDate
InvalidCurrencyCode
InvalidAccount
InvalidAccountRecurring
InvalidTerminal
InvalidMerchant
BadProcessingCode
InvalidMcc
InvalidExpiration
InvalidCardVerificationValue
InvalidLifeCycleOfTransaction
InvalidOrder
TransactionCannotBeCompleted
DoNotHonor
GenericDecline
CVV2Failure
InsufficientFunds
InvalidPin
CardClosed
PickupCardSpecialConditions
AVSFailure
InvalidOrRestrictedCard
SoftAvs
DuplicateTransaction
InvalidTransaction
ExpiredCard
IncorrectPinReentered
TransactionNotPermitted
ReversalRejected
InvalidIssue
IssuerNotAvailableNotRetriable
IssuerNotAvailableRetriable
AccountNotOnFile
ApprovedNonCapture
Error3DS
AuthenticationFailed
BinError
PinError
ProcessorSystemError
HostKeyError
ConfigurationError
UnsupportedTransaction
FatalCommunicationError
RetriableCommunicationError
DeclinedPleaseRetry
SuspectedFraud
SecurityViolation
LostOrStolen
HoldCallCenter
RefusedCard
UnrecognizedResponseCode
CardNotActivated
ProMidUndefined
CeRegistrationIncomplete
NetworkError
ConnectionError
CardTypeUnsupported
TransactionTypeUnsupported
CurrencyUsedInvalid
QuasiCashUnsupported
ValidationError
VirtualTerminalUnsupported
DccUnsupported
InternalSystemError
IdMismatch
H1Error
StatusDescription
AdultGamingUnsupported
LargeStatusCode
Country
BillingAddress
MCCCode
CurrencyCodeUnsupported
UnsupportedReversal
ValidateCurrency
BankAuthRowMismatch
BankAuthRowNotFound
BankAuthRowVoided
BankAuthExpired
CurrencyMismatch
CreditCardMismatch
AmountMismatch
InvalidParentTransactionStatus
ExpiryDate
AmountExceeded
AuthMessage
DinersReject
AuthResult
BadGaming
GamingRefundError
CreditError
AmountIncompatible
IdempotencyFailure
BlockedMastercard
AmexDisabled
FieldValidationFailed
InvalidInputFailure
InvalidPaymentMethod
UserNotAuthorized
InvalidFundingInstrument
ExpiredFundingInstrument
RestrictedFundingInstrument
ExceedsFrequencyLimit
CVVFailure
InvalidVerificationToken
VerificationTokenExpired
InvalidProduct
InvalidTraceId
InvalidTraceReference
FundingSourceAlreadyExists
VerificationTokenRevoked
InvalidTransactionId
SecureError3DS
NoPhoneForDCCTransaction
ArcAvs
ArcCvv
NoDobPresent
LateReversal
NotSupportedNrc
MerchantNotRegistered
ArcScore
AmexDenied
UnsupportEntity
UnsupportPosFlag
UnsupportRefundOnPendingBc
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ResponseCode
impl AsRef<str> for ResponseCode
Source§impl Clone for ResponseCode
impl Clone for ResponseCode
Source§fn clone(&self) -> ResponseCode
fn clone(&self) -> ResponseCode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResponseCode
impl Debug for ResponseCode
Source§impl<'de> Deserialize<'de> for ResponseCode
impl<'de> Deserialize<'de> for ResponseCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ResponseCode
impl Display for ResponseCode
Source§impl PartialEq for ResponseCode
impl PartialEq for ResponseCode
Source§impl Serialize for ResponseCode
impl Serialize for ResponseCode
impl Copy for ResponseCode
impl Eq for ResponseCode
impl StructuralPartialEq for ResponseCode
Auto Trait Implementations§
impl Freeze for ResponseCode
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnwindSafe for ResponseCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.