X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fprocess%2Fpayment.cgi;h=665001ea900a118da41b55c977b2f33e8b02a085;hb=995a145c931164347683071c95c6754379d36604;hp=906c99663466f34ebb382fc8a5cb29d11066bbe0;hpb=eaaf5c590f2039076585d5f3ca2551fad048b5ba;p=freeside.git 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') ) ) {