Re: Checkout is completle but order return null

Checkout is completle but order return null

a47214704
Shopify Partner
4 1 1

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 nulla47214704_1-1666855232453.png

     

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

     

Replies 5 (5)

dogowner
Shopify Partner
58 5 8

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 ?

 

 

dogowner
Shopify Partner
58 5 8

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

a47214704
Shopify Partner
4 1 1

@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

dogowner
Shopify Partner
58 5 8

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. 

DN_ARQ
Tourist
7 0 6

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.