From 57ff05807e54f331bf7c3ae9f67f4602c6b64eab Mon Sep 17 00:00:00 2001 From: Raquel Smith Date: Tue, 12 Mar 2024 14:58:35 -0700 Subject: [PATCH] prevent accidental upgrade to $450 plan --- frontend/src/scenes/billing/BillingProduct.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/scenes/billing/BillingProduct.tsx b/frontend/src/scenes/billing/BillingProduct.tsx index c616ffd4591a1..abce98baf4c7d 100644 --- a/frontend/src/scenes/billing/BillingProduct.tsx +++ b/frontend/src/scenes/billing/BillingProduct.tsx @@ -681,7 +681,8 @@ export const BillingProduct = ({ product }: { product: BillingProductV2Type }): Get in touch ) : ( - upgradePlan.included_if !== 'has_subscription' && ( + upgradePlan.included_if !== 'has_subscription' && + !upgradePlan.unit_amount_usd && (