fix card-types config in backend (one-off payments), RT#40125, RT#39861
authorIvan Kohler <ivan@freeside.biz>
Fri, 29 Jan 2016 22:39:25 +0000 (14:39 -0800)
committerIvan Kohler <ivan@freeside.biz>
Fri, 29 Jan 2016 22:39:25 +0000 (14:39 -0800)
httemplate/misc/process/payment.cgi

index b7d427e..973f073 100644 (file)
@@ -110,7 +110,7 @@ if ( $payby eq 'CHEK' ) {
   validate($payinfo)
     or errorpage(gettext('invalid_card'));
 
-  unless ( $self->payinfo =~ /^99\d{14}$/ ) { #token
+  unless ( $payinfo =~ /^99\d{14}$/ ) { #token
 
     my $cardtype = cardtype($payinfo);