Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
We've been using Shopify as a headless solution for 3 years and were notified by customers today that our checkout was broken. When we redirected the customers to the Shopify checkoutUrl from the Cart object they were getting redirected to our Shopify storefront page instead.
Since we have our own website, we've always just had a password protected Shopify storefront but I found that when I removed the password the checkoutUrl started working as expected again.
Our last sale was at 1:16am CST so I know it worked up until that point. I assume some code change was made by Shopify that prevents the checkoutUrl from working if the Shopify storefront was password protected.
Annoying that we went for most of the day without any sales due to this.
Unfortunately, I am also facing this issue and our live website is experiencing this issue. We have a headless implementation of Shopify on our site, when a customer checks out from our headless store, we redirect to a checkouturl provided by shopify graphql api. Now checkouturl is getting redirected to storefront password page. It was working fine earlier.
As a workaround, I removed our store password and just made a basic storefront page with a button that directs them to our website. It would be great if some Shopify developer saw this and documented the issue!
same! Have you found an answer yet?
Unfortunately not, unless the Shopify devs fix the issue it looks like this is how it will work going forward. 😞
I removed our store password and just made a basic storefront page with a button that directs them to our website in addition to editing the liquid templates to remove any navigation items to other pages. Technically someone could navigate to an inner page if they knew the exact address.
Did you get this figured out?
I'm using a development store and the disabled password protection toggle is greyed out for me! 😞
My store is headless using React and Node.js, I use the checkoutUrl from GraphQL, redirect them to the Shopify payment checkout page, then immediately get redirected to the main storefront page. Tried it in an incognito window and got the login page for my Storefront(which I don't use because of my custom app).
I don't really want to start using a paid Shopify plan until I can test some fake orders and would LOVE if I could access the checkout page without it being password protected.
We have the exact same issue. We're headless, with Shopify store on custom domain and password protected.
For logged in users we use Multipass and with it the checkout works correctly:
[Redirects]
This is also happening to us. Very disappointed to see no one from Shopify answering
Still happening. No response yet either. Sad to see.
Still now facing this issue any solution please share
Happening to me too. Please help, Shopify!
happening to me as well, any work-arounds?
we're almost 2 years into this issue and a vital thing like this is not working.
I'm sure we'll not get a solution soon but does anyone have any workarounds?
Yes, I resolved mine due to Shopify not receiving the correct data such as ProductId. I was using Strapi for a cms and when I refactored the code I missed important product info that Shopify is looking for. Double check you accidentally stripped data from a query that is needed.