Reply
Contributor
Posts: 22
Registered: ‎10-16-2015

Submit address to AVS checking

In the customerAddressType there is no secondary address field for the billto.

 

customerAddressType addressDetails = new customerAddressType { firstName = a_firstname, lastName = a_lastname, address = a_address, city = a_city, state = a_state, country = a_country, zip = a_zip, email = a_email, company = a_website };

 

var transactionRequest = new transactionRequestType
{
transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),

amount = a_amount,
payment = paymentType,
billTo = addressDetails,
customer = cust,
order = order
};

 

How should the 2nd address line be submitted if there is one to the AVS?

 

Example: 

123 Sesame Street

Apt 4

 

Do I submit it  like "123 Sesame Street, Apt 4" with a comma, or  "123 Sesame Street Apt 4", or just leave off the second address line?

 

Thx

Moderator
Posts: 1
Registered: ‎07-28-2014

Re: Submit address to AVS checking

[ Edited ]

The AVS system check the numerical portion of the address & the zip/potal code, e.g if adress is "123 Sesame Street Apt 4" and zip/postal is XY888, the AVS systme will check against 1234 & 888