When it comes to Stripe configuration, the defaults for open-saas in the .env.server are:
PAYMENTS_HOBBY_SUBSCRIPTION_PLAN_ID=012345
PAYMENTS_PRO_SUBSCRIPTION_PLAN_ID=012345
PAYMENTS_CREDITS_10_PLAN_ID=012345
However, the payment.pricingpage.tsx has names such as:
PaymentPlanId.Hobby
PaymentPlanId.Pro
PaymentPlanId.Credits10
When I link my own (existing) stripe, how do I define the variables in the .env.server? My instinct (in my case) was to take the enum PaymentPlanId.CorporateMembership, but the syntax is different in the variables in the context of:
[PaymentPlanId.CorporateMembership]: {
name: prettyPaymentPlanName(PaymentPlanId.CorporateMembership),
price: getPlanPrice(PaymentPlanId.CorporateMembership),
description: 'Corporate membership for businesses supporting SEVA',
features: [
'All General Member benefits',
'Corporate recognition on website',
'Business networking opportunities',
'Priority event booth placement',
'Quarterly business newsletter',
'Single voting right in SEVA elections',
'Corporate member directory listing',
],
icon: <Users className="w-6 h-6" />,
},
Any advice or documentation would be greatly apprecitated! I tried following the youtube tutorial, but that all assumes the default configuration.