1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Remove forced checks on gateway fees

This commit is contained in:
David Bomba 2023-11-16 23:13:52 +11:00
parent 23b58f4e3e
commit c074109b0c

View File

@ -192,9 +192,9 @@ class InstantPayment
$starting_invoice_amount = $first_invoice->balance;
/* Schedule a job to check the gateway fees for this invoice*/
if (Ninja::isHosted()) {
CheckGatewayFee::dispatch($first_invoice->id, $client->company->db)->delay(800);
}
// if (Ninja::isHosted()) {
// CheckGatewayFee::dispatch($first_invoice->id, $client->company->db)->delay(800);
// }
if ($gateway) {
$first_invoice->service()->addGatewayFee($gateway, $payment_method_id, $invoice_totals)->save();