Merge pull request #5378 from Dokploy/chore/trial-7-days

Reduce trial duration from 14 to 7 days
This commit is contained in:
Mauricio Siu
2026-09-08 00:25:42 -06:00
committed by GitHub
3 changed files with 5 additions and 5 deletions
@@ -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
</span>
<p className={`${displayFont.className} text-2xl mt-3`}>
14-day free trial
7-day free trial
</p>
<p className="text-sm text-zinc-400 dark:text-zinc-600 mt-1 max-w-xs">
No card required — cancel anytime.
@@ -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 = () => {
<Clock className="h-5 w-5 text-primary shrink-0" />
<div className="flex flex-col gap-1.5">
<span className="text-sm font-medium">
14-day free trial
7-day free trial
</span>
<span className="text-sm text-muted-foreground">
No credit card required — cancel anytime.
+1 -1
View File
@@ -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 {