For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
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
Hello,
Does anybody know how to obtain order information in Thank you page UI extension (React)?
useOrder() React hook was previously returning an empty result. Now it seems like it is entirely removed.
This hook works properly only for Order Status extension. But how can I get order context being on Thank you page?
The only workaround that I see is pulling the customer email and then find the order via Admin API.
Thanks in advance.