We recently received a notification from shopify that the billing process for our app is not working properly.
(Please see the video attached.)
The problem is that even though the shopify plan is “Shopify plus” and not a development store, the billing process is being performed in test mode, and a process that should return “true” returns “false” and the process cannot be completed.
The following is the shop data for the store where this occurred.
displayName: Shopify Plus,
isDevelopment: false,
shopifyPlus: true
Even though “isDevelopment” was set to “false,” the store was recognized as a development store and the process was executed.
The following code should return true, but it is returning false:
const hasPayment = await shopify.api.billing.check({
session,
plans: billingPlans,
isTest: isDevelopment,
});
Is there a specification in the shopify plus plan that makes hasPayment false under certain conditions?
Is there another value to determine if this is the case?
Also, I was able to confirm that the billing process is being executed normally except for the store you pointed out.