Issue with development stores using the managed pricing

So I have created a Shopify app which works great in Live stores . Problem arises with Shopify development stores .

Its coming up with a test charge in development store . When I select the plan in development stores its selected but the condition does not work .

const bill = await billing.check({
    isTest: false,
  });
const getThePlan = bill.appSubscriptions[0].name /// I am trying to get the current plan here . Even though its there in Shopify Live stores  but here in development stores it is undefined .



Any help would be greatly appriciated .

Is this not because you’ve got isTest: false in your query?