For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hello,
Our app makes use of Admin UI extensions to allow merchants to easily look up checks from a given order or customer from the Shopify dashboard: https://getverdict.com/help/docs/shopify/opening-id-checks
It's been working well for over a year now.
However, recently we've observed that intermittently Shopify will use the _last_ resource ID instead of the current resource ID for the redirect.
For example, a merchant was viewing order with an ID of 11111111, but later they view order 2222222, and when they use the Admin UI extension they will be redirected to order 11111111 instead.
This is highly confusing to merchants, and they believe we have the bug but I can see Shopify's redirect URL intermittently give the incorrect value.
For example, here's a redirect from Shopify's dashboard to our embedded app:
The `id` query parameter is 11111111111111, but in fact the merchant was viewing order 222222222222. The ID parameter passed to the Admin UI extension URL is incorrect or perhaps cached.
Please let me know if I can provide any further details, but at this point I'm convinced there's a caching issue happening intermittently within Shopify Admin UI extensions.
Want to see it in action? Check out our demo store.
We have received a report from a merchant who experience the same issue in the Android Shopify App. I have done some tests and it is happening on iOS Shopify App too. Though it is not always happen, but can be produced with the following steps: