taxonomy/config/subscriptions.ts
2023-04-29 20:33:23 +04:00

15 lines
429 B
TypeScript

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