#Pricing plans with enforced limits for custom apps.
11 messages · Page 1 of 1 (latest)
Hi @little zinc I'm not sure what your app does, but:
You can manage usage limits by connecting your app to Wix Pricing Plans through your app dashboard. Within your app, simply track the number of products and compare it against the plan’s defined limit. If the user is within their plan, everything works normally. If they exceed the limit, block the action and prompt them to upgrade to a higher plan.
In steps:
- Use Wix Pricing Plans to set usage thresholds (e.g., 100 products for Basic, 1,000 for Pro).
- Each time a user creates a product, validate their current usage against their plan limit.
- If the limit is exceeded, block the action and display an upgrade prompt.
Okay, but what if they chose a plan that already doesn’t fit them. Should I still block and if they ask give them refund? And regarding update prompt. My app right now has a single site plugin displayed on product page, should I show the prompt there, so that even their site users could see it? That is more like a question of best practices
Freetrial might be a good option to avoid the pain of refunds
Users can upgrade their plan to a bigger plan at any point (downgrading isn't possible though)
Thank you for your input
@tacit hornet @twin olive
I want to show "Upgrade to premium" in my plugin, when in editor or preview mode, but I can't get the App Instance object when in editor enviroment. How do i do that? @twin olive @tacit hornet
have you checked the docs? https://dev.wix.com/docs/build-apps/launch-your-app/pricing-and-billing/the-app-purchase-lifecycle-in-wix#how-to-check-if-the-user-installed-a-free-version-of-the-app
This article outlines the optional stages a Wix user may go through when installing an app, which include signing up for a free trial, upgrading to a paid plan, and canceling their subscription. By understanding the various stages, from installation and initial setup to free trials and billing cycles, you can effectively manage user interactions...
Yes I have, the thing is you can not call Get App Instance SDK method when a plugin is displayed in editor or preview.
If it's blocks, you can use https://dev.wix.com/docs/velo/velo-only-apis/wix-application/get-decoded-app-instance
Gets the Wix Blocks App data as a decoded Json Web Token (JWT) object. The getDecodedAppInstance() function returns a Promise that resolves to an object with data about the installation of your app on a specific site.
Well I use wix cli.