Hi everyone,
We’re encountering an issue with the subscription feature in our app. One of our merchants has successfully activated the subscription, and it’s working as expected. However, when another merchant activates the same subscription, it doesn’t reflect as active in our system—even though, when we query via GraphQL, the subscription appears to be active.
In the event details, it shows:
Advanced Plan - $15.00 USD (Test)
Subscription ID: [ID]
Is there anything we might be missing or should double-check on our end? Could this be related to the isTest flag or the plan configuration?
Any insights would be greatly appreciated.
Looking forward to your suggestions,
Thanks in advance!
We’re using the following code to check the billing status:
export const loader = async ({ request }) => {
const { billing } = await authenticate.admin(request);
const isTestBilling = process.env.BILLING === "true";
const { hasActivePayment, appSubscriptions } = await billing.check({
plans: [MONTHLY_PLAN],
isTest: isTestBilling,
});
return json({
hasActivePayment,
appSubscriptions,
collectionFunctionId: process.env.SHOPIFY_ADVANCED_COLLECTIONS_DISCOUNT_ID || "",
});
};