cancel
Showing results for 
Search instead for 
Did you mean: 

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

cltw
Contributor
1 REPLY 1

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

MansourH
Moderator Moderator
Moderator