You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the package work through API endpoints? I tried with Postman and Sanctum. Seems like Add to cart works and returns rowId properly but once contents of the cart is requested, nothing is returned. isSaved param is false when items are added.
No this package does store the cart content in session while the cart is loaded and api has no session. There is a refactor branch where i am currently trying to rewrite it to always store cart content in database & to use pagination - that would make it compatible with API scenario.
I was implementing an API with the package and found this out. Is the PR (https://github.com/bumbummen99/LaravelShoppingcart) you did production-ready? Need this badly at this point of the project. Wasn't aware of the session part before I started developing the app version of the project.
Does the package work through API endpoints? I tried with Postman and Sanctum. Seems like Add to cart works and returns rowId properly but once contents of the cart is requested, nothing is returned. isSaved param is false when items are added.
The text was updated successfully, but these errors were encountered: