This commit is contained in:
Hillel Coren 2016-08-19 15:43:25 +03:00
parent 4d86021855
commit 6485ab44cc

View File

@ -133,7 +133,7 @@ class OnlinePaymentController extends BaseController
if ($paymentDriver->completeOffsitePurchase(Input::all())) { if ($paymentDriver->completeOffsitePurchase(Input::all())) {
Session::flash('message', trans('texts.applied_payment')); Session::flash('message', trans('texts.applied_payment'));
} }
return redirect()->to('view/' . $invitation->invitation_key); return redirect()->to($invitation->getLink());
} catch (Exception $exception) { } catch (Exception $exception) {
return $this->error($paymentDriver, $exception); return $this->error($paymentDriver, $exception);
} }