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:
parent
23b58f4e3e
commit
c074109b0c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user