Closed jorgemasta closed 3 years ago
hey @magicspon , hasn't this been solved in 1.3.1? or is it a different problem?
Yup, it's a different issue. It only happens on subsequent visits to the checkout, after the user has logged out of the headless site. Moving SHOP_SESSION_TOKEN
and Shopper-perf
so that they are available on both domains solves the issue
With the fix (in the gist)
https://user-images.githubusercontent.com/3268717/118807290-ff737680-b89f-11eb-8c63-0769728e90d2.mp4
Thanks very much for all the information! 🙌 We will try to fix it asap.
Solved in #72
@jorgemasta we might need to update the login handler.
The checkout session fails when...
I've got a fix here: https://gist.github.com/magicspon/93f42be4395702db8ec006e9cb6236b2
SHOP_SESSION_TOKEN and Shopper-perf are handled in the same way as
SHOP_TOKEN
Originally posted by @magicspon in https://github.com/bigcommerce/storefront-data-hooks/issues/63#issuecomment-843530145