Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

FR: Default Pricing Plan #291

Open
Makisuo opened this issue Apr 12, 2023 · 2 comments
Open

FR: Default Pricing Plan #291

Makisuo opened this issue Apr 12, 2023 · 2 comments
Labels
fr Feature request

Comments

@Makisuo
Copy link

Makisuo commented Apr 12, 2023

What are you trying to do?

Be able to set one pricing plan as the default, which is automatically set for every newly registered account.

How should we solve this?

A new attribute for pricing.json, declaring a plan as default.

What is the impact of not solving this?

It can be worked around by manually assigning the plan after registering a new user, though I feel like this would be quite an essential feature since most SaaS will have a free tier that always will need to be assigned.
So this would affect most tier users in a positive way if implemented.

Anything else?

No response

@Makisuo Makisuo added the fr Feature request label Apr 12, 2023
@isaacs
Copy link
Contributor

isaacs commented Apr 23, 2023

What api would you imagine this looking like? You'll have to hit tier at some point, if only to create the org. So you'd need some kind of "subscribe ${org} to ${the default plan} if they don't already have a subscription", right?

If we had a "subscribe if no subscription" option, you could just set the default plan in an env or something, at least, and just always call it on login/signup.

@Makisuo
Copy link
Author

Makisuo commented Apr 28, 2023

Yes thats excactly what I meant, basically giving a way to subscribe to default on singup if not subscribed, automatically.

With an env would work, though I feel like this is a very common use case so it might be useful to implement it in the PricingSchema itself and the logic be handled in the tier itself.

As far as I see it, in most cases there will always be a Free tier to track usage so most would benefit from this better DX imo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fr Feature request
Projects
None yet
Development

No branches or pull requests

2 participants