taxonomy/config/subscriptions.ts

14 lines
401 B
TypeScript

import { SubscriptionPlan } from "types"
export const freePlan: SubscriptionPlan = {
name: "Free",
description:
"The free plan is limited to 3 posts. Upgrade to the PRO plan for unlimited posts.",
stripePriceId: null,
}
export const proPlan: SubscriptionPlan = {
name: "PRO",
description: "The PRO plan has unlimited posts.",
stripePriceId: process.env.STRIPE_PRO_MONTHLY_PLAN_ID,
}