summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-11-01 16:20:44 -0700
committerIvan Kohler <ivan@freeside.biz>2016-11-01 16:20:44 -0700
commitf2b43a877c70aa367595fe2fc4fcffd82f62d001 (patch)
tree83c4be349cd80ec6fefa9684b390c8989d550598 /httemplate/misc/process
parentbd29d65b7ec7b2637656fbc66ae0f57fa02dcbce (diff)
parent6a4b5b3bf9b3e589cf8ff18453e9c6be6a50091a (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc/process')
-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);