diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-02-14 08:33:16 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-02-14 08:33:16 -0800 |
commit | 8f35bf476386cfd746ab9fd27d584a4d89d3eeb9 (patch) | |
tree | 18dee34d1dd0fe7e56487a30eff5c6ce0c0c1119 /FS/FS/payinfo_Mixin.pm | |
parent | 681a340f6be4184b1472a8e1fa9cd5d074f6f325 (diff) |
better scalability for token checks, RT#71513
Diffstat (limited to 'FS/FS/payinfo_Mixin.pm')
-rw-r--r-- | FS/FS/payinfo_Mixin.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/payinfo_Mixin.pm b/FS/FS/payinfo_Mixin.pm index 84759cc..c79729a 100644 --- a/FS/FS/payinfo_Mixin.pm +++ b/FS/FS/payinfo_Mixin.pm @@ -199,6 +199,7 @@ sub payinfo_check { # see parallel checks in cust_payby::check & cust_payby::check_payinfo_cardtype if ( $self->tokenized ) { + $self->('is_tokenized', 'Y'); #so we don't try to do it again if ( $self->paymask =~ /^\d+x/ ) { $self->set('paycardtype', cardtype($self->paymask)); } else { |