Every checkout ends up out of stock error

I have a simple custom website that uses storefront APIs (to get products and create a checkout). Since yesterday, I’ve been experiencing a blocking issue. Suddenly, every checkout ends up out of stock (but I do not track inventory). More strange: it worked again for a short period of time and the same error ever since. The partner support says that everything looks ok on their side. They suggest asking the question directly here. Am I alone with this issue? Any ideas?

8 Likes

I have been experiencing the same issue since since yesterday with a React site that uses Storefront API.

I have an open ticket with partner support. I will let you know when I have an answer.

After more investigation, I discovered more weird behaviors. When I turn on my VPN, the checkout page works. When I turn off my VPN, the checkout page no longer works. Here’s a short video to show it: https://www.loom.com/share/7625e03c10e84fcea1f7cadd973d2776

3 Likes

We are seeing similar issues, except all our customers are sent to the /password page on the Shopify domain… Unless you use a VPN. Very weird. I have had a conversation with support, and have supplied them with a way to reproduce it.

Looks like there might be some geo-related issue with the API at the moment. We are also seeing some queries returning all products out of stock, as the OP also says. Really weird.

3 Likes

I agree with you. It looks like a geo-related issue with Shopify APIs. I’m still waiting for an answer from the support team. It is a blocking issue. In terms of business, it’s not great because no customer (except if they use a VPN which is unlikely) can checkout. And there is no easy workaround.

2 Likes

Yes, I outlined that is pretty critical to support, since storefronts that use the Buy SDK (In certain geographical areas, I guess?) are effectively down right now.

I found these issues in the Storefront part of the forums, which I suspect are related to this issue:
https://community.shopify.com/c/storefront-api-and-sdks/custom-storefront-checkout-goes-to-theme-website/td-p/1754631

https://community.shopify.com/c/storefront-api-and-sdks/headless-shopify-buy-checkout-url-302-redirected-back-to/td-p/1754214

I also see a wealth of reports on ‘downdetector’ starting yesterday afternoon. I hope others will start to chime in, so we can have this resolved ASAP.

3 Likes

It bothers me that the status site (https://www.shopifystatus.com/) does not show any outage.

Yesterday, I even tried to plug my store with a Github Buy SDK example. And I got the same weird behaviors.

For sure, something has changed in the Shopify backend/APIs.

2 Likes

I’m experiencing the same issue! Talked to support today for 2-hours and first they said the problem is in my site but in the end they finally said that other people also are experiencing the same issue and said they are currently looking into the problem… asked for a timeline but they could not provide any.

4 Likes

I shared with support the forum thread. They will update here once they have more information to share.

1 Like

We’re having the same issue. Still no change.

1 Like

I found a workaround (so I can wait for a fix). Instead of using the standard checkout API, I create a draft order with admin API and redirect the user to the invoice Url. So the user can complete the order.

It’s not perfect because I must clean up the draft orders if the user aborts the transaction.

There is no timeline, so it’s an acceptable (temporary) solution.

I hope to have more news from Shopify soon.

Do you have a separate backend (aside from Shopify)? We can’t use the admin API because our sites (yes, we have multiple sites with this problem) are entirely frontend only.

I use Remix for my website, so it’s React with server-side rendering + some serverless functions (in Netlify). So, that’s why I can use admin APIs (on the server). But for your use case, you can only rely on storefront APIs. :disappointed_face:

It looks like this bug impacts more and more stores :disappointed_face:

2 Likes

I see, we use SSG so we can’t have sensitive info like admin key on the website.

3 Likes

I am just chiming back in:

For the people here with the same issues that I describe - It turns out, disabling password protection fixes the ‘inaccessible checkout’ issue (but then opens a whole different suite of issues).

I recommend reading this post here: https://community.shopify.com/c/storefront-api-and-sdks/headless-shopify-buy-checkout-url-302-redirected-back-to/m-p/1756846/highlight/true#M2460

There is a link to a repo with a headless Shopify theme that can take care of some of the issues removing password protection brings.

Our sites are not password protected (we have separate storefronts that are different from Shopify stores), but I can confirm all the checkouts redirect to https://{store-page}/checkouts/co/{checkout id}/stock-problems.

We are based in Vietnam, but if we use a VPN and change to another country like Singapore, it will work just fine and there is no redirect.

4 Likes

I do not use password protection (and theme). I use Shopify as a headless e-commerce solution with storefront APIs. My only sales channel is my private app.

2 Likes

Also suddenly experiences this problem with a Shopify powered Next.js site… Looking for solutions

2 Likes

I’m having the exact same problem as most replies describe. The checkout always goes to the same checkout page with the Sold Out disclaimer being presented. I’m using the Storefront API as well. This is a pretty huge blocking issue, that is preventing the stores from making any sale. It’s appalling how there isn’t a single reply from support to this issue.

3 Likes

I can’t believe this issue hasn’t been solved still. Customer support isn’t helpful. Does anyone know where else to contact Shopify?

4 Likes