diff options
author | mark <mark> | 2010-08-24 02:17:22 +0000 |
---|---|---|
committer | mark <mark> | 2010-08-24 02:17:22 +0000 |
commit | 31d70c3482ad3aecc79ac4d69c15c35713484359 (patch) | |
tree | 1863e7a663b1afcdd83e2e116abbbcd03fbe4f17 | |
parent | b48548f7e5fb15aacc0040ae0557d05b87fecfb2 (diff) |
premature commit
-rw-r--r-- | FS/FS/pay_batch.pm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm index 9a0b235a9..0b8c9f79b 100644 --- a/FS/FS/pay_batch.pm +++ b/FS/FS/pay_batch.pm @@ -356,10 +356,6 @@ sub import_results { return "error updating status of paybatchnum $hash{'paybatchnum'}: $error\n"; } - # purge CVV when the batch is processed - $new_cust_pay_batch->cust_main->remove_cvv - if ( $payby eq 'CARD' or $payby eq 'DCRD' ); - if ( $new_cust_pay_batch->status =~ /Approved/i ) { my $cust_pay = new FS::cust_pay ( { @@ -406,11 +402,11 @@ sub import_results { return $error; } - } # foreach $cust_event + } - } # if(status eq 'Approved') + } - } # foreach(@all_values) + } $dbh->commit or die $dbh->errstr if $oldAutoCommit; ''; |