Data saved using storage.update() in Post Purchase Extension coming as null in render

My app has a post purchase extension that has been reviewed and approved.

In Checkout::PostPurchase::ShouldRender I’m doing the following

  1. await storage.update({ test: "test" })
  2. After that I’m returning { render: true }

The user is getting redirected to the post purchase extension page as well.

But when I log storage.initialData, it is coming as null. I did not have this issue while testing from dev envt using shopify app dev. I’m facing this issue only in the published extension when using it on a customer store. What could be the issue?