mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 16:31:33 +02:00
prevent double gateway fee removal
This commit is contained in:
parent
f8e60546fb
commit
ee6f2012f6
@ -125,7 +125,7 @@ class AutoBillInvoice extends AbstractService
|
||||
}
|
||||
catch(\Exception $e){
|
||||
nlog("payment NOT captured for ". $this->invoice->number . " with error " . $e->getMessage());
|
||||
$this->invoice->service()->removeUnpaidGatewayFees();
|
||||
// $this->invoice->service()->removeUnpaidGatewayFees();
|
||||
}
|
||||
|
||||
if($payment){
|
||||
|
Loading…
Reference in New Issue
Block a user