diff --git a/web/app/upgrade/pro/cloud/[selectedWorkspace]/page.tsx b/web/app/upgrade/pro/cloud/[selectedWorkspace]/page.tsx index b6b2462d2d..811ae7a3d8 100644 --- a/web/app/upgrade/pro/cloud/[selectedWorkspace]/page.tsx +++ b/web/app/upgrade/pro/cloud/[selectedWorkspace]/page.tsx @@ -28,7 +28,7 @@ const calculateYearlyDiscount = (monthlyPrice: number, yearlyPricePerMonth: numb const renderPlanPricing = (price: number, members: number = 1, recurring: string) => { if (recurring === "month") return ((price / 100) * members).toFixed(0); - if (recurring === "year") return ((price / 1200) * members).toFixed(0); + if (recurring === "year") return ((price / 100) * members).toFixed(0); }; const CloudUpgradePlanPage = observer(() => { @@ -73,7 +73,6 @@ const CloudUpgradePlanPage = observer(() => { const monthlyPlanUnitPrice = (monthlyPlan?.unit_amount || 0) / 100; const yearlyPlanUnitPrice = (yearlyPlan?.unit_amount || 0) / 1200; - const yearlyDiscountedPrice = calculateYearlyDiscount(monthlyPlanUnitPrice, yearlyPlanUnitPrice); const workspaceOnTrial = diff --git a/web/app/upgrade/pro/self-hosted/page.tsx b/web/app/upgrade/pro/self-hosted/page.tsx index a61b95e0d8..aaa164cce4 100644 --- a/web/app/upgrade/pro/self-hosted/page.tsx +++ b/web/app/upgrade/pro/self-hosted/page.tsx @@ -22,7 +22,7 @@ const selfHostedProducts: TSelfHostedProduct[] = [ }, { recurring: "year", - unit_amount: 6, + unit_amount: 72, redirection_link: process.env.NEXT_PUBLIC_PRO_SELF_HOSTED_PAYMENT_URL || undefined, }, ];