From c074109b0c3de82c1c6048db7560a876e3d464e7 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 16 Nov 2023 23:13:52 +1100 Subject: [PATCH] Remove forced checks on gateway fees --- app/Services/ClientPortal/InstantPayment.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Services/ClientPortal/InstantPayment.php b/app/Services/ClientPortal/InstantPayment.php index 3484122541d8..d9a75bec4a39 100644 --- a/app/Services/ClientPortal/InstantPayment.php +++ b/app/Services/ClientPortal/InstantPayment.php @@ -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();