diff options
author | Mark Wells <mark@freeside.biz> | 2016-07-19 12:56:06 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-07-19 12:56:15 -0700 |
commit | 8c72aca69588468b2e5b35397e4d6fb3d543155e (patch) | |
tree | 333b1ff17b4299c7d4bf3deb21be2c192b327218 /FS/FS/payinfo_Mixin.pm | |
parent | 55c5d8f7a02622484ae97b8c195f9ce1a92a6333 (diff) |
unreverse the check for tokenized payinfo, #71291
Diffstat (limited to 'FS/FS/payinfo_Mixin.pm')
-rw-r--r-- | FS/FS/payinfo_Mixin.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/payinfo_Mixin.pm b/FS/FS/payinfo_Mixin.pm index a61125e..4f26e8c 100644 --- a/FS/FS/payinfo_Mixin.pm +++ b/FS/FS/payinfo_Mixin.pm @@ -197,7 +197,7 @@ sub payinfo_check { my $payinfo = $self->payinfo; my $cardtype = cardtype($payinfo); - $cardtype = 'Tokenized' if $payinfo !~ /^99\d{14}$/; + $cardtype = 'Tokenized' if $payinfo =~ /^99\d{14}$/; $self->set('paycardtype', $cardtype); if ( $ignore_masked_payinfo and $self->mask_payinfo eq $self->payinfo ) { |