Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi, Shopify
Background:
*We are developing the sales channel app
*Already change our app to sales channel
*Already add auth scope with read_product_listings, write_checkouts, read_checkouts
*Already list products to our sales channel app
What we do with our app:
1. Create checkout via checkout API (Add line_items, just like this doc Creates a checkout)
2. Get web_url from the response of create checkout API
3. Using web_url to finish order and payment
4. Retrieve checkout after we finish checkout on Shopify's checkout UI
Expect:
At step 4. We expect that the customer_id and payments will contain some information. So that we can use it. Just like this doc Retrieve an existing checkout's response.
We expect that the checkout will be updated when customers finish the payment. And we can query the certain checkout and make sure the payment is done. Is there anything we misunderstand when using API?
You're not misunderstanding anything from what I can tell. Everything you're describing seems to work fine for me. Is there an issue you're describing that I'm missing? If so, let me know.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
This situation we didn't meet again. Now we develop as expected.
After discuss with my partner we conclude it might happen because we have to delete app and install new one app and use the checkout which was created by prev removed app.