From 2bfb39eb1376d53cdd3992bb6a8285e0a3440f9f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 12 Jan 2023 12:08:14 +1100 Subject: [PATCH] Fixes for bug in check gateway fee logic --- app/Services/ClientPortal/InstantPayment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/ClientPortal/InstantPayment.php b/app/Services/ClientPortal/InstantPayment.php index b62098c717f9..feeb0be2a127 100644 --- a/app/Services/ClientPortal/InstantPayment.php +++ b/app/Services/ClientPortal/InstantPayment.php @@ -200,7 +200,7 @@ class InstantPayment } /* Schedule a job to check the gateway fees for this invoice*/ - CheckGatewayFee::dispatch($first_invoice, $client->company->db)->delay(600); + CheckGatewayFee::dispatch($first_invoice->id, $client->company->db)->delay(600); /** * Gateway fee is calculated