Login cookies
-
Hello.
I’ve been going in circles with this issue.
we are building a ecommerce site using Nuxt, WordPress, woocommerce and cocart. Everything thing works fine when a guest adds items to a cart. Everything works when when I add an item to the cart as a registered user (authenticate with email and password). The issues start when registered customers try to checkout. If that user logouts out and in again they lost all the sessions and cookies.
How do I login customers from the nuxt side and how do I pass this session to WordPress, and woocommerce to get the user cart. If the user logs in on the checkout page everything works as intended, but we want the user to login from Nuxt.
Would appreciate any feedback.
kind regards
Darren
- The topic ‘Login cookies’ is closed to new replies.