Delay in Cart Transform function being applied on POS after initial installation

Hello, we have a suite of POS apps that use Cart Transform functions. In our case, we have both existing merchants updating our app and installing our new Cart Transform function, and any new merchants installing our app also get this functionality by default.

We have seen certain cases where we install the function successfully, but when the merchant goes to use our app in POS, the function for whatever reason doesn’t run and there is an indeterminate delay of when it ultimately gets applied.

In one case, I was at a merchant’s physical store trying to get this working and ended up having to wait around 10 minutes for the update to finally be applied. During that time I tried doing a Reset Account to hard log out of their POS device, multiple Store data refreshes, switching to cellular hot spot, all to no avail. Finally, randomly, the function started working.

Right now for users migrating to our new Cart Transform feature, we have to tell them that “it might not work immediately, if not then uninstall it and reinstall it at the end of your business day so that Shopify can apply the update overnight.”

Meanwhile for merchants who’ve just installed our app, we’ve also just run into a case where the function doesn’t want to run (I’m assuming it’s the same timing issue) and this results in a very poor first-time user experience, as we just have to tell them to wait and hopefully Shopify applies the update to their POS device soon.

Is there a way to reliably ensure POS devices get a newly-installed cart transform function immediately?

Hey @derrick -

Thanks for the detailed write-up here. I’m checking into some things on our end here.

A few details would help narrow this down if you can share them:

  • Rough UTC timestamps for when cartTransformCreate succeeded, when the POS cart was first tested, and when it started working
  • Whether the merchant had opened or used POS/cart shortly before the Cart Transform was created
  • Whether the same Cart Transform applied immediately outside POS, or if all cart/checkout surfaces had the same delay
  • If you have it, the x-request-id from the Admin API request that created the Cart Transform

For shop/app/function identifiers, best to share those privately rather than posting them in the thread - let me know if you’d like me to set up a DM and I can look into things on my side here. :slight_smile:

Thanks so much @Alan_G, I just DM’d you.