AVS Verification

We are having trouble with the AVS Verification

We refused some transaction because the AVS verification returned the error code "W" or "Z"

 

Is there any documentation on how to format the street name and the streat number?

The only documentation I found is: https://developer.moneris.com/Documentation/NA/E-Commerce%20Solutions/E-Fraud/AVS but it doesn't tell how the address should be formated

 

Where should the appartment be? At the start or the end? Should the client include "app" or "#" before the appartment number?

What happen if the address is longer than 19 characters? We just crop the rest?

 

The error was returned while doing the CardVerification

  • In reply to DavidJoyalMorin:

    Hello, We apologize for the delay.

    Below are some guidelines on the the AVS data entry.

    Entering Address Information When Card is Not Present.

    To request an address verification in a card-not-present situation, follow these steps:

    1. Enter the street address, including apartment numbers.
    For example:
    549 Jones St Apt 3
    enter as: 549 Jones St Apt 3

    • If the address had no numbers in it, just enter the street name.
    For example:
    Park Plaza Central
    enter as: Park Plaza Central

    • If the address is a P.O. Box, enter the P.O. Box information.
    For example:
    P.O. Box 912
    enter as: P.O. Box 912

    2. Enter the 5-or 9-digit ZIP Code.
    For example:
    94109
    or 941092133

    The important thing to keep in mind is for you to send that data mapped to our fields as correctly as the field length as the spec advises you. Odds are if the AVS field is shorter than the actual address, the bank will also ignore or use the truncated data to validate.
  • In reply to ND_Moneris:

    Hello,
    It is still unclear how to properly fill the AVS object.

    Address example #1: 235 Rue Peel 612 (612 is apartment number without ‘Apt’ prefix).
    1. What should the AVS section look like? Is the example below correct?
    <avs_info>
    <avs_street_number>235</avs_street_number>
    <avs_street_name>Rue Peel 612</avs_street_name>
    <avs_zipcode>H3C0P8</avs_zipcode>
    </avs_info>

    2. Will the AVS failed if whole address line put in avs_street_name element?

    Address example #2: 1st North Street
    <avs_info>
    <avs_street_number>1st</avs_street_number>
    <avs_street_name>North Street</avs_street_name>
    <avs_zipcode>H3C0P8</avs_zipcode>
    </avs_info>
    3. Is this the correct filling?
    4. Should apt. # be a part of avs_street_name element?
  • In reply to Rutts:

    Hi, though our specs don't specify this, you can technically pass both street number and street name in the street number field. If doing this way, make sure that both combined don't go over 20 characters. The limit is 19 as per our specs if separating the fields.