diff --git a/.env.example b/.env.example index b655857..19b5af3 100644 --- a/.env.example +++ b/.env.example @@ -29,4 +29,4 @@ SMTP_FROM=Taxonomy # ----------------------------------------------------------------------------- STRIPE_API_KEY= STRIPE_WEBHOOK_SECRET= -SUBSCRIPTION_PLAN_PRICE_ID_PRO= \ No newline at end of file +STRIPE_PRO_MONTHLY_PLAN_ID= \ No newline at end of file diff --git a/config/subscriptions.ts b/config/subscriptions.ts index 2ed016a..aeb9402 100644 --- a/config/subscriptions.ts +++ b/config/subscriptions.ts @@ -10,5 +10,5 @@ export const freePlan: SubscriptionPlan = { export const proPlan: SubscriptionPlan = { name: "PRO", description: "The PRO plan has unlimited posts.", - stripePriceId: process.env.SUBSCRIPTION_PLAN_PRICE_ID_PRO, + stripePriceId: process.env.STRIPE_PRO_MONTHLY_PLAN_ID, }