Oh gawd.

On Monday, March 17, 2014, Denis Odorcic <notifications@github.com> wrote:

> In lib/active_merchant/billing/gateways/exact.rb:
>
> >            xml.tag! 'VerificationStr2', credit_card.verification_value
> >          end
> > +
> > +        if address = options[:billing_address] || options[:address]
> > +          xml.tag! "VerificationStr1", [:address1, :zip, :city, :state, :country].map { |field| address[field].to_s }.join("|")
>
> The address value must be formatted depending on the bank processor used.
>
> If the bank processor used is Chase Paymentech or Moneris, the address value must be in this format: streetaddress|zipcode (where: "|" is hex(7C) ).
> For more information, please refer to: https://hostedcheckout.zendesk.com/entries/235981-How-do-I-do-AVS-Formatting-if-I-use-Chase-Paymentech-or-Moneris-as-a-processor-
>
> If the bank processor used is TSYS (also known as: Vital), the address value must be in this format: "street address + apt no. + zip code" OR "post office box number + space + zip code"
> For more information please refer to: https://hostedcheckout.zendesk.com/entries/235988-How-do-I-do-AVS-Formatting-if-I-use-TSYS-Vital-as-a-processor-
>
> For all the mentioned bank processors, there's a limit of 29 characters for the address value so that will work fine. However, the format differs so you will need to adapt it depending on the bank processor used.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Shopify/active_merchant/pull/1076/files#r10683631>
> .
>


-- 
Boris Slobodin
Developer - Shopify