[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 741b6bf4e2532238860bc5f968bd24c6698d5c5f

Ivan ivan at 420.am
Sun Feb 17 15:51:32 PST 2013


The branch, FREESIDE_2_3_BRANCH has been updated
       via  741b6bf4e2532238860bc5f968bd24c6698d5c5f (commit)
      from  f6c799b390c1fabbf8ca3d7798088d94dfcc4f21 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 741b6bf4e2532238860bc5f968bd24c6698d5c5f
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Feb 17 15:51:31 2013 -0800

    don't even send an empty avsCountryCode for non-US/CA/GB/UK country, RT#21415

diff --git a/FS/FS/pay_batch/paymentech.pm b/FS/FS/pay_batch/paymentech.pm
index 3021bb6..594c895 100644
--- a/FS/FS/pay_batch/paymentech.pm
+++ b/FS/FS/pay_batch/paymentech.pm
@@ -139,10 +139,10 @@ my %paymentech_countries = map { $_ => 1 } qw( US CA GB UK );
         avsCity         => substr($_->city,     0, 20),
         avsState        => substr($_->state,    0, 2),
         avsName         => substr($_->first. ' '. $_->last, 0, 30),
-        avsCountryCode  => ( $paymentech_countries{ $_->country }
-                                 ? $_->country
-                                 : ''
-                             ),
+        ( $paymentech_countries{ $_->country }
+          ? ( avsCountryCode  => $_->country )
+          : ()
+        ),
         orderID           => $_->paybatchnum,
         amount            => $_->amount * 100,
         );

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/pay_batch/paymentech.pm |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)




More information about the freeside-commits mailing list