projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c81054
)
style
author
ivan
<ivan>
Thu, 17 Jun 2010 01:17:09 +0000
(
01:17
+0000)
committer
ivan
<ivan>
Thu, 17 Jun 2010 01:17:09 +0000
(
01:17
+0000)
httemplate/misc/process/payment.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/process/payment.cgi
b/httemplate/misc/process/payment.cgi
index
906c996
..
665001e
100644
(file)
--- 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') ) ) {