[freeside-commits] branch FREESIDE_3_BRANCH updated. 0271da55f0dcec6473d65e161a8c25616f179b9f
Ivan
ivan at 420.am
Wed Jan 25 17:33:24 PST 2017
The branch, FREESIDE_3_BRANCH has been updated
via 0271da55f0dcec6473d65e161a8c25616f179b9f (commit)
from 0b84aeb64263783a180012aa79a91626701ae391 (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 0271da55f0dcec6473d65e161a8c25616f179b9f
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jan 25 17:33:11 2017 -0800
fix upgrades, fix bogus "Tokenized" paycardtype, RT#71513
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 21dce1f..ddddb24 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -1969,7 +1969,6 @@ sub check {
or return gettext('invalid_card'); # . ": ". $self->payinfo;
my $cardtype = cardtype($payinfo);
- $cardtype = 'Tokenized' if $self->payinfo =~ /^99\d{14}$/; # token
return gettext('unknown_card_type') if $cardtype eq 'Unknown';
@@ -2186,7 +2185,6 @@ sub check_payinfo_cardtype {
$payinfo =~ s/\D//g;
if ( $payinfo =~ /^99\d{14}$/ ) {
- $self->set('paycardtype', 'Tokenized');
return '';
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_main.pm | 2 --
1 file changed, 2 deletions(-)
More information about the freeside-commits
mailing list