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