From a014bf313cc1a50b09e1453813b35637f3872c9c Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 25 Mar 2015 17:52:01 +0200 Subject: [PATCH] Fixed issue related to using multiple gateways --- app/controllers/PaymentController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/PaymentController.php b/app/controllers/PaymentController.php index c0241a8979fe..4f74c8575a6b 100755 --- a/app/controllers/PaymentController.php +++ b/app/controllers/PaymentController.php @@ -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;