mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-21 13:40:56 -04:00
Fixed issue related to using multiple gateways
This commit is contained in:
parent
13994f98a8
commit
a014bf313c
@ -328,7 +328,9 @@ class PaymentController extends \BaseController
|
||||
} else {
|
||||
return self::do_payment($invitationKey, false);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Session::put('payment_type', PAYMENT_TYPE_ANY);
|
||||
}
|
||||
|
||||
$invitation = Invitation::with('invoice.invoice_items', 'invoice.client.currency', 'invoice.client.account.account_gateways.gateway')->where('invitation_key', '=', $invitationKey)->firstOrFail();
|
||||
$invoice = $invitation->invoice;
|
||||
|
Loading…
x
Reference in New Issue
Block a user