mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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;
|
$starting_invoice_amount = $first_invoice->balance;
|
||||||
|
|
||||||
/* Schedule a job to check the gateway fees for this invoice*/
|
/* Schedule a job to check the gateway fees for this invoice*/
|
||||||
if (Ninja::isHosted()) {
|
// if (Ninja::isHosted()) {
|
||||||
CheckGatewayFee::dispatch($first_invoice->id, $client->company->db)->delay(800);
|
// CheckGatewayFee::dispatch($first_invoice->id, $client->company->db)->delay(800);
|
||||||
}
|
// }
|
||||||
|
|
||||||
if ($gateway) {
|
if ($gateway) {
|
||||||
$first_invoice->service()->addGatewayFee($gateway, $payment_method_id, $invoice_totals)->save();
|
$first_invoice->service()->addGatewayFee($gateway, $payment_method_id, $invoice_totals)->save();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user