For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
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.