From 91eaab6a43f0ece4f4ccc10c70063476f5f6c396 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Tue, 8 Sep 2026 00:17:40 -0600 Subject: [PATCH] Reduce trial duration from 14 to 7 days --- .../components/dashboard/onboarding/steps/plan-step.tsx | 4 ++-- .../components/dashboard/settings/billing/show-billing.tsx | 4 ++-- apps/dokploy/server/utils/billing.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/dokploy/components/dashboard/onboarding/steps/plan-step.tsx b/apps/dokploy/components/dashboard/onboarding/steps/plan-step.tsx index 3524332ca..8007c3373 100644 --- a/apps/dokploy/components/dashboard/onboarding/steps/plan-step.tsx +++ b/apps/dokploy/components/dashboard/onboarding/steps/plan-step.tsx @@ -56,7 +56,7 @@ export const PlanStep = ({ onNext }: Props) => { try { await startFreeTrial(); await utils.project.onboardingStatus.invalidate(); - toast.success("Your 14-day trial has started"); + toast.success("Your 7-day trial has started"); onNext(); } catch (error) { toast.error( @@ -90,7 +90,7 @@ export const PlanStep = ({ onNext }: Props) => { Recommended

- 14-day free trial + 7-day free trial

No card required — cancel anytime. diff --git a/apps/dokploy/components/dashboard/settings/billing/show-billing.tsx b/apps/dokploy/components/dashboard/settings/billing/show-billing.tsx index 52e68a547..34869115f 100644 --- a/apps/dokploy/components/dashboard/settings/billing/show-billing.tsx +++ b/apps/dokploy/components/dashboard/settings/billing/show-billing.tsx @@ -117,7 +117,7 @@ export const ShowBilling = () => { utils.stripe.getProducts.invalidate(), utils.user.get.invalidate(), ]); - toast.success("Your 14-day trial has started"); + toast.success("Your 7-day trial has started"); } catch (error) { toast.error( error instanceof Error ? error.message : "Error starting trial", @@ -326,7 +326,7 @@ export const ShowBilling = () => {

- 14-day free trial + 7-day free trial No credit card required — cancel anytime. diff --git a/apps/dokploy/server/utils/billing.ts b/apps/dokploy/server/utils/billing.ts index 8ae67146a..f2a98fa02 100644 --- a/apps/dokploy/server/utils/billing.ts +++ b/apps/dokploy/server/utils/billing.ts @@ -77,7 +77,7 @@ export const getCurrentPlan = async ( return getCurrentPlanForUser(ownerId); }; -export const TRIAL_DURATION_DAYS = 14; +export const TRIAL_DURATION_DAYS = 7; export const TRIAL_SERVER_LIMIT = 1; export interface BillingStatus {