projects
/
Business-BatchPayment-Paymentech.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
bacd297
)
Merge branch 'master' of git.freeside.biz:/home/git/Business-BatchPayment-Paymentech
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 17 Feb 2013 23:50:46 +0000
(15:50 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 17 Feb 2013 23:50:46 +0000
(15:50 -0800)
Paymentech.pm
patch
|
blob
|
history
diff --git
a/Paymentech.pm
b/Paymentech.pm
index
d1fe2c6
..
e505c0f
100644
(file)
--- a/
Paymentech.pm
+++ b/
Paymentech.pm
@@
-172,10
+172,10
@@
sub format_item {
avsCity => substr($item->city, 0, 20),
avsState => substr($item->state, 0, 2),
avsName => substr($item->first_name. ' '. $item->last_name, 0, 30),
-
avsCountryCode =>
( $paymentech_countries{ $item->country }
- ? $_->country
- : ''
-
),
+ ( $paymentech_countries{ $item->country }
+ ? ( avsCountryCode => $item->country )
+ : ()
+ ),
orderID => $item->tid,
amount => int( $item->amount * 100 ),
);