@vvr follow this link:
https://stackoverflow.com/questions/34449770/laravel-session-store-not-set-on-request
this might will fix your error
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello!
I am having a problem with a Stripe form.
First say that I had my development environment in C9 and recently I have passed it to AWS-C9.
In the C9 environment it worked for me without any problem but in the AWS-C9 only Stripe is failing me.
It gives me a CSRF error even having the correct input field.
If I use middleware as Laravel documentation says:
https://laravel.com/docs/5.6/csrf
nothing happens, but if I add that middleware to the general configuration (that is, it affects everything) I get the following error
"Session store not set on request."
Then I tried to create a clean laravel from scratch and also in 5.6 and I got a simple Stripe form to work perfectly.
Does anyone know what can be due?
Thank you very much to all!
Please or to participate in this conversation.