mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01: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){
|
catch(\Exception $e){
|
||||||
nlog("payment NOT captured for ". $this->invoice->number . " with error " . $e->getMessage());
|
nlog("payment NOT captured for ". $this->invoice->number . " with error " . $e->getMessage());
|
||||||
$this->invoice->service()->removeUnpaidGatewayFees();
|
// $this->invoice->service()->removeUnpaidGatewayFees();
|
||||||
}
|
}
|
||||||
|
|
||||||
if($payment){
|
if($payment){
|
||||||
|
Loading…
Reference in New Issue
Block a user