No content to show

User Activity

We had the same problem, the `billing.require` function always expects a `onFailure ` fallback. I found a workaround, that's why I pass a new response with null as a parameter. This won't work outside of a try catch block.Here you can see the full lo...
For example this is a workaround to get the information of the billing for the current user. The onFailure callback does nothing.```let billingInfo;try {billingInfo = await billing.require({plans: [BASIC_TIER, PREMIUM_TIER, ULTIMATE_TIER],isTest: fal...
The "free" plan is just no plan in our app. So if the user has no subscription he is on a "free plan".
My bad as you said, the amount for a billing plan has to more than zero. Here is an example for one of our Apps.shopify.server.ts```const shopify = shopifyApp({apiKey: process.env.SHOPIFY_API_KEY,apiSecretKey: process.env.SHOPIFY_API_SECRET || '',api...
Something like this should be working.```export const action: ActionFunction = async ({ request }) => {const { billing } = await authenticate.admin(request);await billing.require({plans: [BASIC_TIER],isTest: true,onFailure: async () => billing.reques...
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Helpful From