Hello,
I am trying to save some variables on session before i redirect to paypal..
$var = Input::all();
Session::put('variables',$var);
$gateway = Omnipay::create('PayPal_Express');
$gateway->setUsername('***');
$gateway->setPassword('**');
But this $var does not persist after the redirect. Other variables that have been put to Session before that, do persist.. I am using the file driver..
Any ideas? Thanks
Sessions should be save automatically. Or you stopping the app in a weird way, like calling die or exit, or outputting headers with the native header() function?
Hi barryvdh,
No i did not stop the application in any weird way or output with native header(), maybe omnipays redirect does that i did not look into it..
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community