diff --git a/packages/shared-data/plans.ts b/packages/shared-data/plans.ts index 58c7bcf5f0c..33851d576b0 100644 --- a/packages/shared-data/plans.ts +++ b/packages/shared-data/plans.ts @@ -3,6 +3,7 @@ export interface PricingInformation { name: string nameBadge?: string costUnit?: string + costUnitOrg?: string href: string priceLabel?: string priceMonthly: number | string @@ -10,6 +11,7 @@ export interface PricingInformation { description: string preface: string features: string[] + featuresOrg?: string[] footer?: string cta: string } @@ -20,6 +22,7 @@ export const plans: PricingInformation[] = [ name: 'Free', nameBadge: '', costUnit: '/ month / project', + costUnitOrg: '/ month', href: 'https://supabase.com/dashboard/new/new-project', priceLabel: '', priceMonthly: 0, @@ -48,11 +51,27 @@ export const plans: PricingInformation[] = [ name: 'Pro', nameBadge: '', costUnit: '/ month / project', + costUnitOrg: '/ month', href: 'https://supabase.com/dashboard/new/new-project', priceLabel: 'From', warning: 'Usage-based plan', priceMonthly: 25, description: 'For production applications with the option to scale.', + featuresOrg: [ + '$10 Compute Credits', + 'No project pausing', + 'Daily backups stored for 7 days', + '8GB database space included', + '100GB file storage included', + '50GB bandwidth included', + '5GB file uploads included', + '100,000 monthly active users included', + '2M Edge Function invocations included', + '500 concurrent Realtime connections included', + '5 million Realtime messages included', + '7-day log retention', + 'Email support', + ], features: [ 'No project pausing', 'Daily backups stored for 7 days', @@ -77,6 +96,7 @@ export const plans: PricingInformation[] = [ name: 'Team', nameBadge: 'New', costUnit: '/ month', + costUnitOrg: '/ month', href: 'https://forms.supabase.com/team', priceLabel: 'From', warning: 'Usage-based plan', diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/BillingAddress/BillingAddress.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/BillingAddress/BillingAddress.tsx index c5235c0eb1a..983d63b4b86 100644 --- a/studio/components/interfaces/Organization/BillingSettingsV2/BillingAddress/BillingAddress.tsx +++ b/studio/components/interfaces/Organization/BillingSettingsV2/BillingAddress/BillingAddress.tsx @@ -65,7 +65,7 @@ const BillingAddress = () => {

Billing Address

-

This will be reflected in every invoice

+

This will be reflected in every upcoming invoice, past invoices are not affected

diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingBreakdown.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingBreakdown.tsx index 4ae33dd7312..3a4ad729d1e 100644 --- a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingBreakdown.tsx +++ b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingBreakdown.tsx @@ -75,15 +75,15 @@ const BillingBreakdown = () => {

Included usage summary

{isUsageBillingEnabled ? (

- Your plan includes a limited amount of usage. If the usage on your project exceeds - these quotas, your subscription will be charged for the overages. It may take up to - 24 hours for usage stats to update. + Your plan includes a limited amount of usage. If the usage on your organization + exceeds these quotas, your subscription will be charged for the overages. It may + take up to 24 hours for usage stats to update.

) : (

- Your plan includes a limited amount of usage. If the usage on your project exceeds - these quotas, you may experience restrictions, as you are currently not billed for - overages. It may take up to 24 hours for usage stats to update. + Your plan includes a limited amount of usage. If the usage on your organization + exceeds these quotas, you may experience restrictions, as you are currently not + billed for overages. It may take up to 24 hours for usage stats to update.

)} diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx index d731d906c68..63ec35debed 100644 --- a/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx +++ b/studio/components/interfaces/Organization/BillingSettingsV2/BillingBreakdown/BillingMetric.tsx @@ -35,7 +35,7 @@ const BillingMetric = ({ idx, slug, metric, usage, subscription }: BillingMetric const isExceededLimit = hasLimit && usageRatio >= 1 const usageCurrentLabel = - metric.units === 'bytes' ? `${usageMeta?.usage ?? 0} GB` : usageMeta?.usage?.toLocaleString() + metric.units === 'bytes' ? `${usageMeta?.usage?.toLocaleString() ?? 0} GB` : usageMeta?.usage?.toLocaleString() const usageLimitLabel = metric.units === 'bytes' ? `${usageMeta?.pricing_free_units ?? 0} GB` diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/PaymentMethods/PaymentMethods.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/PaymentMethods/PaymentMethods.tsx index 4076768a5e5..92cba91045c 100644 --- a/studio/components/interfaces/Organization/BillingSettingsV2/PaymentMethods/PaymentMethods.tsx +++ b/studio/components/interfaces/Organization/BillingSettingsV2/PaymentMethods/PaymentMethods.tsx @@ -57,10 +57,9 @@ const PaymentMethods = () => {

Payment methods

-

- This copy might need to change, when adding a new payment method, either remove the - old one or go to your projects' subscription to explicitly update the payment - method. +

+ After adding a payment method, make sure to mark it as active to use it for billing. + You can remove unused cards.

diff --git a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx index a3b9f277f03..8d647639dc0 100644 --- a/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx +++ b/studio/components/interfaces/Organization/BillingSettingsV2/Subscription/PlanUpdateSidePanel.tsx @@ -183,7 +183,7 @@ const PlanUpdateSidePanel = () => { ) : (

${price}

)} -

{tierMeta?.costUnit}

+

{tierMeta?.costUnitOrg}

@@ -252,7 +252,7 @@ const PlanUpdateSidePanel = () => {