-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return Url to my website clears the Cart::content() #650
Comments
@Crinsane I think the problem is with session. Session destroy after return URL form payment gateway. |
My problem is solved. I have changed the following in config/session.php file: 'same_site' => 'lax', To the below value:
Now session are persistent even after return URL from payment gateway! |
Check your Callback function. Because the cart can be cleared when it exists in your callback function. I hope you understand what I mean by "callback"? Take for instance, FLUTTERWAVE Payment 💲 Gateway.......
Check this link for a better understanding |
I am using payment api for payment. After successful payment a return URL hits to my website. But now cart::content() is empty
Why?
How to persist data?
I am using laravel 8.
The text was updated successfully, but these errors were encountered: