[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 1951a5f6de2a3a5b6964c0016455dc438cd1b53c
Mark Wells
mark at 420.am
Fri Feb 8 14:22:04 PST 2013
The branch, FREESIDE_2_3_BRANCH has been updated
via 1951a5f6de2a3a5b6964c0016455dc438cd1b53c (commit)
from b1a9256d101cc8e0e69239e84b3049c66600cc00 (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 1951a5f6de2a3a5b6964c0016455dc438cd1b53c
Author: Mark Wells <mark at freeside.biz>
Date: Fri Feb 8 14:19:31 2013 -0800
fix paymentech return processing when it's the default payment gateway, #21358, #21117
diff --git a/FS/FS/pay_batch/paymentech.pm b/FS/FS/pay_batch/paymentech.pm
index 9705503..3021bb6 100644
--- 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'},
);
-----------------------------------------------------------------------
Summary of changes:
FS/FS/pay_batch/paymentech.pm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list