Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I've tried to get order detail by checkout id using a storefront access token. but it returns null. I got the proper response when I call the admin API. I've checked the access scope for that token, it has all the required scope. Kindly help me to fix this issue.
Sample query and response below :
query:
{node( id: "CHECKOUT_ID_HERE" ) { ... on Checkout { id createdAt completedAt order { id } } } }
Response :
{ "data": { "node": { "id": "CHECKOUT_ID_HERE", "createdAt": "2022-10-20T09:33:08Z", "orderStatusUrl": null, "completedAt": null, "order": null, } } }
I'm having same issue. I contacted Shopify support on Saturday and still haven't heard anything back.
Some other reports:
https://github.com/Shopify/js-buy-sdk/issues/917
@Unknown_Dev This is now working for me. The storefront api suddenly returns the correct completedAt values. Is it working for you now?
I am having the same issue. Checkout was successfully completed but the order, completedAt and transaction objects are null.
{"data":{"checkoutCompleteWithTokenizedPaymentV3":{"checkout":{"order":null,"createdAt":"2023-07-14T18:23:04Z","completedAt":null,"orderStatusUrl":null,"email...
No errors and order were successfully created. I tried versions 2022-07, 2022-10 and 2023-07.
Any help is truly appreciated.
Thanks!