Sébastien Dumont
Forum Replies Created
-
It’s most likely compatibility then. Please try CoCart’s own JWT authentication instead with CoCart and see if the issue is the same.
OK. Will check if we can replicate the issue.
Since there has not been any further response from you I am going to close this ticket. If you have resolved the issue please let me know. Thank you.
Was the cart authorized or a guest session?
Hey @manishsethemail
Thank you for the update. Sounds like you have authentication issue. I will know more if I could test myself.
Would you mind setting up a Sandbox Site for me? Make sure everything is setup the same. It will be temporary for 7 days. More than enough time to figure things out.
https://app.instawp.io/onboard?launch_slug=true&plugins=cart-rest-api-for-woocommerce
Thank you.Forum: Plugins
In reply to: [CoCart - Cart API Enhanced] increment and decrement items from cart@mohammedmiri Sorry for the late response.
Yes you can update items.Sounds like a plugin conflict with a language plugin. Doing a Q&A on discord if you like to join.
Here is the session handler for CoCart.Any updates @manishsethemail ?
API v1 is no longer supported.
CoCart or WooCommerce does not force items in the cart or share sessions on the native front-end. I would deactivate CoCart and see what is going wrong with WooCommerce in general first.
If it is a bug that you have found with CoCart then please report it on the repository with as much detail as possible that is requested but I assume it could also be plugin compatibility which a lot has gone into solving in CoCart v4 which just pushed it’s first beta last week.
Look forward to your feedback.
regards,
Sébastien.
Closing this thread as we spoke on Discord instead.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Issue with CoCart search query@sammyxep Issue has been fixed with v3.8.2 released today.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Issue with CoCart search queryThank you for letting me know @sammyxep
I will look into this and get back to you.
Closing as resolved due to none further response.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Login cookiesIs it possible to have Nuxt and WordPress pages working together?
Yes you can use both domains. There is a feature that allows you to load a cart session for guest customers.
As for the authentication I guess I wasn’t clear. While you use the login endpoint to authenticate the user as a starting point you still need to authenticate on all endpoints for the cart for a registered customer.
I also have a JWT token add-on that makes authentication more secure for storing credentials in your app. Instructions on usage is provided in description.
If you are having a CORS issue you can install that add-on too. Simply activate.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Login cookiesHi @darrenpaul
If a customer has logged out only the cookie is destroyed. As for the session it should still remain and if for some reason the session is gone, if you have persistent cart left enabled which sounds like you do then the session will get created again.
Now you mention that when on the checkout page everything is still working for a logged in customer so it doesn’t appear to be an issue with WooCommerce or CoCart so you need to review your Nuxt code to see what you maybe missing.
Check the network logs, perhaps authentication is not being passed correctly.