summaryrefslogtreecommitdiff
path: root/httemplate/misc/process/payment.cgi
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-10-29 12:02:31 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-10-29 12:02:31 -0500
commitb72e70605eb51f2336230bbef8bf7f6fd2fe6456 (patch)
tree938d4972c0375829e312cc224dfd1b6ab1b185d7 /httemplate/misc/process/payment.cgi
parent0d9ffbafedc170c79ef5587af8c836579eb1c6fc (diff)
71513: Card tokenization [checkpoint, not ready for backport]
Diffstat (limited to 'httemplate/misc/process/payment.cgi')
-rw-r--r--httemplate/misc/process/payment.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi
index 74ca7348f..84687f019 100644
--- 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'));
- unless ( $payinfo =~ /^99\d{14}$/ ) { #token
+ unless ( $cust_main->tokenized($payinfo) ) { #token
my $cardtype = cardtype($payinfo);