[freeside-commits] branch master updated. 20c0f34775b56c7969487bfbdb1dcd26546d0925
Ivan Kohler
ivan at freeside.biz
Tue Sep 25 19:31:10 PDT 2018
The branch, master has been updated
via 20c0f34775b56c7969487bfbdb1dcd26546d0925 (commit)
from 66b90d3d395a6bace7d3d73743fbd3dc54bda8b6 (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 20c0f34775b56c7969487bfbdb1dcd26546d0925
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Sep 25 19:31:09 2018 -0700
fix paymentech batch approval status processing, RT#80622
diff --git a/FS/FS/pay_batch/paymentech.pm b/FS/FS/pay_batch/paymentech.pm
index bb2c2588d..094d50114 100644
--- a/FS/FS/pay_batch/paymentech.pm
+++ b/FS/FS/pay_batch/paymentech.pm
@@ -67,12 +67,8 @@ my $gateway;
$hash->{'error_message'} = $hash->{'procStatusMessage'};
}
},
- 'approved' => sub { my $hash = shift;
- $hash->{'approvalStatus'}
- },
- 'declined' => sub { my $hash = shift;
- ! $hash->{'approvalStatus'}
- },
+ 'approved' => sub { shift->{'approvalStatus'} == 1 },
+ 'declined' => sub { shift->{'approvalStatus'} != 1 },
);
my %paytype = (
-----------------------------------------------------------------------
Summary of changes:
FS/FS/pay_batch/paymentech.pm | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
More information about the freeside-commits
mailing list