summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorivan <ivan>2011-08-02 20:17:00 +0000
committerivan <ivan>2011-08-02 20:17:00 +0000
commit6578195643791d5cc809155485144649e6cfe307 (patch)
treea86950f684e2b8df0c7219d69968bb0f45db960b /httemplate/misc/process
parent3cc574188759d0df1ede6b92c2929b06b30c105e (diff)
isracard support in self-service and backend payment processing, RT#13894
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 c1c9071f9..9c8512785 100644
--- a/httemplate/misc/process/payment.cgi
+++ b/httemplate/misc/process/payment.cgi
@@ -91,7 +91,7 @@ if ( $payby eq 'CHEK' ) {
$payinfo = $cust_main->payinfo;
}
$payinfo =~ s/\D//g;
- $payinfo =~ /^(\d{13,16})$/
+ $payinfo =~ /^(\d{13,16}|\d{8,9})$/
or errorpage(gettext('invalid_card')); # . ": ". $self->payinfo;
$payinfo = $1;
validate($payinfo)