A place to discuss charging merchants for your apps and services using the billing API.
Hi we have a shopify app that we want to distribute via the shopify app store.
During review process we were asked to implement the billing api.
We have two plans for our product.
A free plan which has capped usage. - So lets say upto 100 feature usages. These are for small sized merchants.
A paid plan for organizations that are larger. - for merchants that are larger. This is charged 5$ per feature usage.
I have a billing config that looks like this.
export const billing: BillingConfig = {
Free: {
amount: 0.5, // WHAT DO I SPECIFY HERE? I cant set it to 0
currencyCode: "USD",
usageTerms:
"For stores with less than 1000 orders per month.",
interval: BillingInterval.Usage,
replacementBehavior: BillingReplacementBehavior.Standard,
},
Pro: {
amount: 2000, // max a merchant will be charged
currencyCode: "USD",
trialDays: 31,
usageTerms:
"For stores with over 1000 orders per month. Charged 5$ per usage instance",
interval: BillingInterval.Usage,
replacementBehavior: BillingReplacementBehavior.Standard,
},
};
I tried searching quite a bit in the older answers but cant seem to find a solution. Has someone done this before?
Will be grateful for any help on this.