diff --git a/app/Services/Invoice/AddGatewayFee.php b/app/Services/Invoice/AddGatewayFee.php index 66981f8fdd14..4f5657f65178 100644 --- a/app/Services/Invoice/AddGatewayFee.php +++ b/app/Services/Invoice/AddGatewayFee.php @@ -41,7 +41,7 @@ class AddGatewayFee extends AbstractService public function run() { - $gateway_fee = round($this->company_gateway->calcGatewayFee($this->amount, $this->gateway_type_id), $this->invoice->client->currency()->precision); + $gateway_fee = round($this->company_gateway->calcGatewayFee($this->amount, false, $this->gateway_type_id), $this->invoice->client->currency()->precision); if ((int)$gateway_fee == 0) { return $this->invoice;