I want to build an app with laravel 5 & dropbox API in which I want the API allow/cancel-warning to be displayed when you land on the homepage, not when you click a butt
Below code will work
return redirect()->away('http://www.paypal.com');
And this will also work.
return redirect('http://www.paypal.com');