summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-02-18 17:10:28 -0800
committerIvan Kohler <ivan@freeside.biz>2017-02-18 17:10:28 -0800
commit0813051e7926734289e81efb468b62940d542627 (patch)
tree0dd6727a51e8827e227ac58aabe96bb0bec317a6 /httemplate/misc
parent04fb5a4901bec15d10867a39324b24c71d528cdd (diff)
19 digit visa and discover cards
Diffstat (limited to 'httemplate/misc')
-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 1532605d4..6226ebd2f 100644
--- a/httemplate/misc/process/payment.cgi
+++ b/httemplate/misc/process/payment.cgi
@@ -129,7 +129,7 @@ if ( (my $custpaybynum = scalar($cgi->param('custpaybynum'))) > 0 ) {
$payinfo = $cgi->param('payinfo');
$payinfo =~ s/\D//g;
- $payinfo =~ /^(\d{13,16}|\d{8,9})$/
+ $payinfo =~ /^(\d{13,19}|\d{8,9})$/
or errorpage(gettext('invalid_card'));
$payinfo = $1;
validate($payinfo)