<CartCheckoutButton> is not redirecting to the valid checkout - checkoutUrl is wrong? #2653
Unanswered
fredericbrass
asked this question in
Help
Replies: 1 comment 2 replies
-
The new checkout url format is |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using the react-hydrogen package,
I'm managing to update my cart with the AddToCartButton perfectly fine, and I can see lineItems being added to my cart correctly. However it seems the checkoutUrl is wrong, and the redirecting is not working as expected when using the CartCheckoutButton
The checkoutUrl is: http://storedomain.com/cart/c/(token)
Looking at other examples of using hydrogen-react I'd expect my checkout url to be something similar to:
https://storedomain.myshopify.com/checkouts/cn/(token)
Has anyone experienced this before? Am I doing something different with my setup
Beta Was this translation helpful? Give feedback.
All reactions