diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-10-29 12:02:31 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-11-29 04:46:34 -0600 |
commit | 16498ac263bf5f3e90e23b866706ada768486f40 (patch) | |
tree | fb2a53f0045ce165151a3b5bca99bdb4e254bdb2 /httemplate/misc/process/payment.cgi | |
parent | 80542a7f5c52ac2f631adc82d0e4326554200793 (diff) |
71513: Card tokenization [checkpoint, not ready for backport]
Diffstat (limited to 'httemplate/misc/process/payment.cgi')
-rw-r--r-- | httemplate/misc/process/payment.cgi | 2 |
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); |