X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpay_batch%2Fpaymentech.pm;h=1ecf35afdbc23b53f3329a0815676862f2a6e6aa;hp=47be4eb31ebe5042c786183b64c74da972fae386;hb=2b4aa0130467d2b992526a66f649464742defa1d;hpb=0da59a28d129728c18481ca80e8841585b69dd0c diff --git a/FS/FS/pay_batch/paymentech.pm b/FS/FS/pay_batch/paymentech.pm index 47be4eb31..1ecf35afd 100644 --- a/FS/FS/pay_batch/paymentech.pm +++ b/FS/FS/pay_batch/paymentech.pm @@ -130,10 +130,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, );