diff --git a/src/lib/components/billing/alerts/limitReached.svelte b/src/lib/components/billing/alerts/limitReached.svelte index 7cb72e1d0a..03bc5c2bf8 100644 --- a/src/lib/components/billing/alerts/limitReached.svelte +++ b/src/lib/components/billing/alerts/limitReached.svelte @@ -9,12 +9,14 @@ import { organization } from '$lib/stores/organization'; -{#if $organization?.$id && $organization?.billingPlan === BillingPlan.STARTER && $readOnly && !hideBillingHeaderRoutes.includes($page.url.pathname)} +{#if $organization?.$id && $organization?.billingPlan === BillingPlan.FREE && $readOnly && !hideBillingHeaderRoutes.includes($page.url.pathname)} - Usage for the {$organization.name} organization has reached the limits of the Starter + Usage for the {$organization.name} organization has reached the limits of the {tierToPlan( + $organization.billingPlan + ).name} plan. Consider upgrading to increase your resource usage. diff --git a/src/lib/components/billing/planComparisonBox.svelte b/src/lib/components/billing/planComparisonBox.svelte index 85443bcfbc..b17aa8437c 100644 --- a/src/lib/components/billing/planComparisonBox.svelte +++ b/src/lib/components/billing/planComparisonBox.svelte @@ -13,7 +13,7 @@ (selectedTab = 'tier-0')}> - Starter + Free {plan.name} plan
    -
  • Everything in the Starter plan, plus:
  • +
  • Everything in the Free plan, plus:
  • Unlimited databases, buckets, functions
  • {plan.bandwidth}GB bandwidth
  • {plan.storage}GB storage
  • diff --git a/src/lib/components/billing/planExcess.svelte b/src/lib/components/billing/planExcess.svelte index d940691deb..4005487bd4 100644 --- a/src/lib/components/billing/planExcess.svelte +++ b/src/lib/components/billing/planExcess.svelte @@ -19,6 +19,7 @@ import { onMount } from 'svelte'; import type { OrganizationUsage } from '$lib/sdk/billing'; import { sdk } from '$lib/stores/sdk'; + import { BillingPlan } from '$lib/constants'; export let tier: Tier; @@ -51,15 +52,16 @@ $organization.billingNextInvoiceDate )} - Following payment of your final invoice, your organization will switch to the Starter plan. {#if excess?.members > 0}All - team members except the owner will be removed on that date.{/if} Service disruptions may - occur unless resource usage is reduced. + Following payment of your final invoice, your organization will switch to the {tierToPlan( + BillingPlan.FREE + ).name} plan. {#if excess?.members > 0}All team members except the owner will be removed on + that date.{/if} Service disruptions may occur unless resource usage is reduced. diff --git a/src/lib/components/billing/usageRates.svelte b/src/lib/components/billing/usageRates.svelte index f5654243aa..c2d5c73ae0 100644 --- a/src/lib/components/billing/usageRates.svelte +++ b/src/lib/components/billing/usageRates.svelte @@ -49,14 +49,13 @@ } ]; - $: isFree = org.billingPlan === BillingPlan.STARTER; + $: isFree = org.billingPlan === BillingPlan.FREE; {#if isFree} - Usage on the Starter plan is limited for the following resources. Next billing period: {toLocaleDate( - nextDate - )}. + Usage on the {$plansInfo?.get(BillingPlan.FREE).name} plan is limited for the following resources. + Next billing period: {toLocaleDate(nextDate)}. {:else if org.billingPlan === BillingPlan.PRO}

    Usage on the Pro plan will be charged at the end of each billing period at the following diff --git a/src/lib/components/support.svelte b/src/lib/components/support.svelte index ec768ed4aa..b43ab3e8cc 100644 --- a/src/lib/components/support.svelte +++ b/src/lib/components/support.svelte @@ -30,7 +30,7 @@

    {/if} - {#if $organization?.billingPlan === BillingPlan.STARTER} + {#if $organization?.billingPlan === BillingPlan.FREE}