fix upgrades, fix bogus "Tokenized" paycardtype, RT#71513
[freeside.git] / FS / FS / cust_main.pm
index 21dce1f..ddddb24 100644 (file)
@@ -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 '';
   }