Stripe plugin
Using the Stripe plugin, I have the subscription configuration:
subscription: {
enabled: true,
plans: [
{
name: 'Free',
limits: {
projects: 20,
storage: 50,
},
},
{
name: 'Starter',
priceId: STARTER_PRICE_ID.default,
annualDiscountPriceId: STARTER_PRICE_ID.annual,
limits: {
projects: 20,
storage: 50,
},
},
{
name: 'Standard',
priceId: STANDARD_PRICE_ID.default,
annualDiscountPriceId: STANDARD_PRICE_ID.annual,
limits: {
projects: 20,
storage: 50,
},
},
{
name: 'Profession',
priceId: PROFESSION_PRICE_ID.default,
annualDiscountPriceId: PROFESSION_PRICE_ID.annual,
limits: {
projects: 20,
storage: 50,
},
},
],
},
I would like to initially set the active plan to Free default, so that I can apply the limits even when the user is on the free plan. Is this possible?
0 Replies