[freeside-commits] branch FREESIDE_3_BRANCH updated. 4fdfe871a80ff796146218fd226e46be97698e0f
Ivan Kohler
ivan at freeside.biz
Tue Sep 25 19:31:16 PDT 2018
The branch, FREESIDE_3_BRANCH has been updated
via 4fdfe871a80ff796146218fd226e46be97698e0f (commit)
from 97656ea6ea7a9138036ba1499a05d64a1f8850c6 (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 4fdfe871a80ff796146218fd226e46be97698e0f
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Sep 25 19:31:15 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 65fb668b7..7ddaff258 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