Checkout is completle but order return null

Topic summary

A bug was reported where completing checkout via Storefront API resulted in the order field returning null, despite the order being successfully created in Shopify Admin. The issue affected the completedAt and orderStatusUrl fields as well.

Initial Problem:

  • Users completed checkout using storefront webUrl
  • Querying the checkout by ID showed order: null
  • Order existed in Admin but wasn’t accessible via Storefront API
  • Admin API version: 2022-10; Storefront API version: 2022-07

Resolution:
The issue appears to have been silently fixed by Shopify engineering. Multiple users confirmed it started working without any code changes on their end, now using Storefront API version 2022-10.

Ongoing Issue:
One user reports the problem still occurs specifically when customers use Apple Pay, PayPal, or autofill for credit card info on iOS. Manually entered credit card information works correctly. They’re using Shopify Buy SDK for Unity with Storefront API version 2022-10, and are puzzled why autofill behaves differently than manual input.

Summarized with AI on November 23. AI used: claude-sonnet-4-5-20250929.

Hi all!

Bug details

Describe the bug

  1. We complete the checkout using storefront webUrl

  2. Use storefront search by checkoutId

    {
      node(id: "gid://shopify/Checkout/50f0deb3ec52f030eb0c8bafd6673519?key=03459cb748da2647e3fa00e186ece55b") {
        ... on Checkout {
          id
          createdAt
          webUrl
          subtotalPriceV2 {
            amount
            currencyCode
          }
          completedAt
          orderStatusUrl
          order {
            id
          }
        }
      }
    }
    
  3. And we got order, completedAt, orderStatusUrl return null

  4. But we search using Admin we found the order
    admin/api/2022-10/checkouts/50f0deb3ec52f030eb0c8bafd6673519.json

1 Like

Did you find anything else about this? This seems to happen on my live store but not my test store. I’m using buy-button.js + Javascript Buy SDK. I think they use storefront api version 2022-07. I see your admin api version is 2022-10, what version of the storefront api are you using ?

1 Like

@a47214704 This is now working for me. The storefront api returns the completedAt date and time instead of null. Is it working for you?

1 Like

@dogowner Thanks for reply. The storeFront now i’m using is 2022-10. But it work now i didn’t change anything. So i don’t konw what happen on it

I can’t confirm but seems that deep in the depths of Shopify engineering someone accidentally fixed it. Thanks for confirming it is working for you now; I really appreciate it. I am also now using the 2022-10 and it wasn’t working but is now working. So I think the mystery bug is fixed. Bummer that we don’t have any more info about it. Shopify support never seemed to understand the bug or that it was happening.

Is anyone else still encountering this issue?

It’s still returning Null for customers that use Apple Pay, PayPal, or auto fill for credit card info on iOS. Manually entered CC info seems to work fine. I’m perplexed as to why auto fill would behave differently from manual input of credit card info.

We’re using the Shopify Buy for Unity SDK. Storefront API version 2022-10.

1 Like