From: ivan Date: Thu, 17 Jun 2010 01:17:09 +0000 (+0000) Subject: style X-Git-Tag: root_of_svc_elec_features~152 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=ab3be0ae661c2f0560897e4ea2f55b85b1358e9f;p=freeside.git style --- diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi index 906c99663..665001ea9 100644 --- a/httemplate/misc/process/payment.cgi +++ b/httemplate/misc/process/payment.cgi @@ -96,8 +96,10 @@ if ( $payby eq 'CHEK' ) { $payinfo = $1; validate($payinfo) or errorpage(gettext('invalid_card')); # . ": ". $self->payinfo; + errorpage(gettext('unknown_card_type')) - if $payinfo !~ /^99\d{14}$/ && cardtype($payinfo) eq "Unknown"; + if $payinfo !~ /^99\d{14}$/ #token + && cardtype($payinfo) eq "Unknown"; if ( defined $cust_main->dbdef_table->column('paycvv') ) { if ( length($cgi->param('paycvv') ) ) {