[freeside-commits] freeside/FS/FS cust_main.pm,1.513,1.514

Ivan,,, ivan at wavetail.420.am
Thu Jun 17 12:39:17 PDT 2010


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv29007

Modified Files:
	cust_main.pm 
Log Message:
fix cards being inserted as N/A (fallout from RT#4103), RT#8809

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.513
retrieving revision 1.514
diff -u -w -d -r1.513 -r1.514
--- cust_main.pm	15 Jun 2010 04:50:22 -0000	1.513
+++ cust_main.pm	17 Jun 2010 19:39:15 -0000	1.514
@@ -1715,12 +1715,7 @@
 
   # If it is encrypted and the private key is not availaible then we can't
   # check the credit card.
-
-  my $check_payinfo = 1;
-
-  if ($self->is_encrypted($self->payinfo)) {
-    $check_payinfo = 0;
-  }
+  my $check_payinfo = ! $self->is_encrypted($self->payinfo);
 
   if ( $check_payinfo && $self->payby =~ /^(CARD|DCRD)$/ ) {
 
@@ -4796,7 +4791,7 @@
        'paid'     => $cust_pay_pending->paid,
        '_date'    => '',
        'payby'    => $cust_pay_pending->payby,
-       #'payinfo'  => $payinfo,
+       'payinfo'  => $options{'payinfo'},
        'paybatch' => $paybatch,
        'paydate'  => $cust_pay_pending->paydate,
        'pkgnum'   => $cust_pay_pending->pkgnum,



More information about the freeside-commits mailing list