AVS Test Guide: Address Verification Testing

An AVS test is a controlled run of the Address Verification System against a billing address so you can see exactly what result your payment processor returns and what your system does with it. Merchants, developers, and fraud teams run these tests in a sandbox before real orders flow, because AVS sits inside authorization and a bad mapping quietly approves or declines the wrong customers. The criteria that decide whether a test is useful are simple: does your sandbox reproduce your live processor's codes, does your gateway map every code to a deliberate action, and are you testing with sandbox values or your own card rather than anyone else's account data.

What the Address Verification System actually checks

AVS compares the billing address a customer types at checkout against the address the card issuer has on file. It is a matching service, not an identity check.

The response codes you will see in a test

Codes vary by processor, but the common set is worth testing one by one.

Test each one against your own rules. A merchant who treats U and G the same as N will decline legitimate international buyers all day. A merchant who treats them as Y will approve orders that were never checked.

Running an AVS test in a sandbox

  1. Switch the gateway to test mode and confirm no live keys are loaded.
  2. Pull the test card values and postal codes from your processor's documentation, since each processor ties specific test numbers to specific address results.
  3. Send each code path through your checkout: matching ZIP, mismatched ZIP, missing ZIP, non-numeric address, and an international billing country.
  4. Log the full request and the full response so you can prove what the processor returned.
  5. Confirm your accept, review, and decline branches fire the way you intended, including the manual review queue.
  6. Repeat after any gateway rule change, plugin upgrade, or processor migration.

Do not test with card numbers that are not yours and are not sandbox values. Card data belongs to the account holder, and using someone else's details is both a legal problem and a PCI problem.

Where AVS tests usually go wrong

What AVS does not do

AVS does not verify who is holding the card. A stolen card with a matching billing ZIP passes AVS cleanly. It does not replace a CVC check, 3-D Secure authentication, velocity limits, delivery-address screening, or manual review. Treat it as one signal among several, and set your review thresholds based on your own decline and chargeback data rather than a generic rule of thumb.

Pre-launch checklist

A short, repeatable AVS test plan catches the failures that cost the most: legitimate customers declined for no reason, and unchecked orders approved because a code was never handled.

More

Read our complete guide: Buy CVV Cheap: Pricing, Risks, and What First-Time Buyers Need to Know