projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1a9256
)
fix paymentech return processing when it's the default payment gateway, #21358, ...
author
Mark Wells
<mark@freeside.biz>
Fri, 8 Feb 2013 22:19:31 +0000
(14:19 -0800)
committer
Mark Wells
<mark@freeside.biz>
Fri, 8 Feb 2013 22:19:31 +0000
(14:19 -0800)
FS/FS/pay_batch/paymentech.pm
patch
|
blob
|
history
diff --git
a/FS/FS/pay_batch/paymentech.pm
b/FS/FS/pay_batch/paymentech.pm
index
9705503
..
3021bb6
100644
(file)
--- a/
FS/FS/pay_batch/paymentech.pm
+++ b/
FS/FS/pay_batch/paymentech.pm
@@
-60,8
+60,12
@@
my $gateway;
$hash->{'_date'} =~ /^(..)(..)(....)(..)(..)(..)$/;
$hash->{'_date'} = timelocal($sec, $min, $hour, $day, $mon-1, $year);
$hash->{'paid'} = $oldhash->{'amount'};
+
+ my $gateway_label = $hash->{'processor'};
+ $gateway_label = $hash->{'gatewaynum'} . '-' . $gateway_label
+ if $hash->{'gatewaynum'};
$hash->{'paybatch'} = join(':',
- $gateway
->gatewaynum . '-PaymenTech'
,
+ $gateway
_label
,
$hash->{'auth'},
$hash->{'order_number'},
);