E-Payment Integrator 2020 C++ Edition

Questions / Feedback?

ResponseAVS Property

The Address Verification System response code.

Syntax

ANSI (Cross Platform)
char* GetResponseAVS();

Unicode (Windows)
LPWSTR GetResponseAVS();
@property (nonatomic,readonly,assign,getter=responseAVS) NSString* responseAVS;
- (NSString*)responseAVS;
#define PID_DIRECTPAYMENT_RESPONSEAVS 60

INPAY_EXTERNAL void* INPAY_CALL InPay_DirectPayment_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

""

Remarks

The Address Verification System response code.

This one character field contains the Address Verification System (AVS) result code. This is always returned in the server response. The AVS service is used to help detect fraud. While PayPal may authorize a payment, it is up to the merchant to check the ResponseAVS and decide whether or not to honor the transaction.

The valid AVS codes are listed in the table below.

AVS CodeMeaningMatched Details
AAddressAddress Only (no ZIP)
BInternational "A"Address only (no ZIP)
CInternational "N"None
DInternational "X"Address and Postal Code
ENot allowed for MOTO (Internet/Phone) transactionsNot applicable
FUK-specific "X"Address and Postal Code
GGlobal UnavailableNot applicable
IInternational UnavailableNot applicable
NNoNone
PPostal(International "Z")Postal Code only (no Address)
RRetryNot applicable
SService not SupportedNot applicable
UUnavailableNot applicable
WWhole ZIPNine-digit ZIP code (no Address)
XExact matchAddress and nine-digit ZIP code
YYesAddress and five-digit ZIP
ZZIPFive-digit ZIP code (no Address)
All othersErrorNot applicable

This property is read-only.

Data Type

String

Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 C++ Edition - Version 20.0 [Build 7941]