Focuses on API authentication, access scopes, and permission management.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi
Our app is a sales channel app, we create checkout with this api. Currently, we found that the thank_you page's url token is not checkout_token anymore. Is there anyone know what happen?
Checkout page url: /checkouts/co/${checkout_token}
Thank_you page url: /checkouts/co/${unknown_id}/thank_you
We use the ${checkout_token} to let customer continue shopping after the customer finish checkout and arrived thank_you page. But the ${checkout_token} is not equal ${unknown_id} so that we couldn't query the information of the checkout.
Q.1 Is there any way to use ${unknown_id} to query relative information of the checkout?
Q.2 What reason cause this happen? Is there any big change in Shopify's checkout policy?
This issue affects our clients a lot, customers couldn't finish the shopping process.
Appreciate your help.
Did you find the solution? I have the same issue.
Yes. You can use the localStorage in the thank you page to get the cartToken.
window.localStorage.getItem("cartToken")