Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
We have a headless implementation of Shopify on our site, when a customer checks out from our headless store, we redirect to a url Shopify provides through the shopify-buy sdk.
Since last night, Shopify is 302 redirecting back to the root shopify store from the checkout url. We had to disable password protection on the site so that it would stop redirecting. This has been running in production with this config for years now, Shopify has changed something.
Steps:
Customer clicks checkout, shopify-buy sdk provides a url for checkout: https://{custom domain}/{shop id??}/checkouts/{checkout id}?key={some special key??}
Shopify 302 redirects to https://{custom domain}/checkouts/co/{checkout id}
Shopify shows shop is password protected message
We have the exact same issue. If we connect to a VPN and select North American servers, we can go through to the checkout. This seems to be some weird geo-related issue with the API at the moment (Our best guess). We have notified Shopify Partner support and given them a way to reproduce the issue.
Possibly related:
https://community.shopify.com/c/shopify-apis-and-sdks/every-checkout-ends-up-out-of-stock-error/td-p...
We opened a ticket with Shopify Support 33234945 but I don't think thats going anywhere bc the conversation was super confused with the support rep. You know the weird thing is, we have another 'dev' site that is set up exactly the same way w/ password protect and its not redirecting! Fwiw I am located in North America so I'm hitting North American servers presumably
What we ended up doing was removing the password protection from the storefront and then installing a 'headless theme' to redirect away from the our shop subdomain https://github.com/instantcommerce/shopify-headless-theme
We also added robots.txt.liquid so that the crawlers will ignore the subdomain
This is working well enough for us.
Thank you for this, we have now done the same - and this works for us atop a degree. We now have infinite redirect issues with this theme - because we use a domain alias and not the standard shop.myshopify.com url.
I do hope they resolve the issue at hand, however.
Hi Everyone - Are you still experiencing this issue?
To learn more visit the Shopify Help Center or the Community Blog.
Hi!
I am still facing this issue!
Customers cannot order from my site.
- The site uses the Storefront API and other APIs
- The inventory is in a good state according to the Shopify Admin site
- Customers get redirected to /checkouts/co/:id/stock-problems
Please help, nothing has changed in our side.
@vix
Yes, the problem still persists. We are located in Denmark, and from here - disabling password protection sends customers to checkout correctly (I understand that people in other countries aren’t as lucky as me, though).
It looks like some redirects are still happening even if it works for us. Something must have changed Shopify-side that relates to geo-location.
Hi @vix
We also have this issue with password protection. And it appears from time to time and mostly on mobile devices.
Please investigate it and fix from your side.
Hi, we are also experiencing this issue with 2 out of 5 accounts that we have implemented the same private app (custom checkout).
We checked Admin and Storefront API permissions, versions, general configuration but the issue persists.
Affected account: https://vanitechile.myshopify.com/
Working account: https://pskjoyas.myshopify.com/
If you need more info, please let me know. This is a critical issue, and it was working fine until a couple of days ago. We haven't deployed any change in the checkout app.
Note: we found a similar thread that was supposed to be fixed, however there are some users reporting occurrences after the fix release.
Thanks in advance, Vix
Hi - Thanks for providing the examples. Can you try in incognito or on a new device? I was able to go through the cart to checkout without issues for https://vanitechile.myshopify.com/
To learn more visit the Shopify Help Center or the Community Blog.
Hi Vix,
We have same outcome when using incognito, in vanite store the checkout lands on "information" step, which is not the intended behavior since we are filling all required fieds so that checkout lands directly in "shipping" step.
See video: https://share.vidyard.com/watch/kNaJomxtfEhBVgNnTXpD2a?
For reference, here's a sample video of pskjoyas, where as you can see, it goes straight into shipping options in checkout: https://share.vidyard.com/watch/YSeGQsAtgwfeKwUh3pmsM1?
Hope this helps with finding a solution. Let me know if you need further data or context.
Thank you
Hi Vix, would you mind sharing an update. Thank you.
I´ve got the same issue. When will this be fixed?
Just had this on a Storefront API store we manage, the app has been live ~2 years.
Disabling password protection worked in this scenario too!
Spent 3 hours explaining to a live chat agent that I did not need a Shopify Expert and this was a Shopify issue only Shopify can fix! Why is support for trying to get anything Storefront related fixed so painful???
As far as I know it started happening on yesterday for the first time for myself and store owners.
God knows how many orders have been lost to this, may have been happening for customers sporadically for months for all I know.
As an update, I do have a support ticket open with the Shopify technical team about this, hopefully they can resolve 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.
Same issue just started happening to my custom storefront on https://toma.cafe removing password also seems to have solved my issues...
//Christian
So if you want password protection enabled on your store again and you are lucky enough to have your ticket escalated to the technical team after spending a few hours speaking to level 1 chat agents, they can put in a temp fix for your website, but, the underlying problem will not be resolved for those who don't create a ticket for... an unknown period of time.
In regards to the checkout creation, we've identified in our investigation what may be causing the unexpected redirect. We've applied a temporary solution for this issue on your store going forward and you can feel free to re-enable xxx.myshopify.com's storefront password. As a part of our ongoing efforts to improve the checkout design and function, Shopify developers are working on a longer term solution to support all merchants in your circumstances. As I wouldn't have a timeframe for when this will be implemented, myself or my team will update you as soon as we have confirmation of completion from our developers.
Does anyone have a y new updates on this? We are experiencing the same thing and have been unable to get a response from Shopify so far.
Still facing this issue please share solution