projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
71513: Card tokenization [checkpoint, not ready for backport]
[freeside.git]
/
httemplate
/
misc
/
process
/
payment.cgi
diff --git
a/httemplate/misc/process/payment.cgi
b/httemplate/misc/process/payment.cgi
index
74ca734
..
84687f0
100644
(file)
--- a/
httemplate/misc/process/payment.cgi
+++ b/
httemplate/misc/process/payment.cgi
@@
-135,7
+135,7
@@
if ( (my $custpaybynum = scalar($cgi->param('custpaybynum'))) > 0 ) {
validate($payinfo)
or errorpage(gettext('invalid_card'));
validate($payinfo)
or errorpage(gettext('invalid_card'));
- unless ( $
payinfo =~ /^99\d{14}$/
) { #token
+ unless ( $
cust_main->tokenized($payinfo)
) { #token
my $cardtype = cardtype($payinfo);
my $cardtype = cardtype($payinfo);