Skip to content

Commit 0ab2a07

Browse files
authored
chore: update billing banner (#479)
1 parent 6227e25 commit 0ab2a07

File tree

1 file changed

+3
-10
lines changed
  • src/app/(frontend)/(cloud)/cloud/[team-slug]/[project-slug]/(tabs)/settings/billing

1 file changed

+3
-10
lines changed

src/app/(frontend)/(cloud)/cloud/[team-slug]/[project-slug]/(tabs)/settings/billing/page.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ export default async ({
6161
team,
6262
})
6363

64-
// check if this plan is free, and do not show a message if it is
65-
// some plans are have pricing that is different than what is offered in the UI
66-
// so instead of checking `project.plan` we check the amount of the `stripeSubscription`
67-
const isFreeTier = !project.stripeSubscription?.plan?.amount // could be `0` or `null`
68-
6964
return (
7065
<MaxWidth>
7166
<SectionHeader className={classes.header} title="Project billing" />
@@ -107,11 +102,9 @@ export default async ({
107102
<Heading element="h6" marginBottom={false}>
108103
Payment Method
109104
</Heading>
110-
{isFreeTier && (
111-
<Message
112-
success={`This project is on a free tier. No billing information is required.`}
113-
/>
114-
)}
105+
<Message
106+
success={`As part of Payload's partnership with Figma, we're waiving your existing hosting costs. When a new platform is available, we'll notify you of the details.`}
107+
/>
115108
<p className={classes.description}>
116109
{`Select which card to use for this project. If your payment fails, we will attempt to bill your team's default payment method (if any). To set your team's default payment method or manage all payment methods on file, please visit the `}
117110
<Link href={`/${cloudSlug}/${team.slug}/settings/billing`} prefetch={false}>

0 commit comments

Comments
 (0)