Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey Shopify team,
I'm working on a Partner development store to demonstrate a headless checkout using the Vercel Commerce starter (https://github.com/vercel/commerce) and am running into an issue that I can't proceed to checkout.
I see that Partner development stores must have a storefront password set on them. When I checkout on my headless storefront deployed on Vercel (here: https://ninetailed-ecommerce-demo-site.vercel.app/), I experience the following behaviour:
How can I instead proceed to the checkout on this development store? If I recall correctly, I was able to do so as recently as December 2022.
I've reproduced the error in this Loom: https://www.loom.com/share/3fbcba6745504f30b5658c4231776c85
Resolved! The issue had to do with the Vercel Commerce starter. It was storing and retrieving the Storefront-API created checkout URL in cookies using some characters that can be unsafe in cookies, notably, `=`. This caused the retrieval of the checkout URL to remove the value of the key query parameter, and so the checkout URL was invalid, which then caused the redirect on Shopify's side.
How did you resolve this? is there a public pr i can look at? currently getting 404 on checkout attempt with vercel commerce.
Thanks
Hello, I found the solution for the vercel ecommerce starter and wrote an article to solve it, go to my medium: Sejiux and the title of the article is How to resolve checkout redirection in shopify headless.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024