1
0
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:
David Bomba 2022-04-07 14:47:05 +10:00
parent f8e60546fb
commit ee6f2012f6

View File

@ -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){