Fixes for bug in check gateway fee logic

This commit is contained in:
David Bomba 2023-01-12 12:08:14 +11:00
parent fadc039eba
commit 2bfb39eb13

View File

@ -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