Merge pull request 'fix(subscription): default billing period to monthly, not yearly' (#150) from dev into main

Reviewed-on: #150
This commit was merged in pull request #150.
This commit is contained in:
2026-06-23 10:09:08 +03:00

View File

@@ -234,7 +234,10 @@ export function SubscriptionPage() {
const [step, setStep] = useState<CheckoutStep>("plan");
const [selectedPlanKey, setSelectedPlanKey] = useState<string | null>(null);
const [selectedBrandIds, setSelectedBrandIds] = useState<string[]>([]);
const [billingPeriod, setBillingPeriod] = useState<"monthly" | "yearly">("yearly");
// Default to monthly: yearly upfront (₺9.990 Full) is the top checkout-abandonment
// point; monthly lowers the commitment barrier. The yearly tab keeps its +2-month
// gift badge, and an existing/pending subscriber's chosen period still wins (below).
const [billingPeriod, setBillingPeriod] = useState<"monthly" | "yearly">("monthly");
// ─── Page-level state ──────────────────────────────────────────────────────
const [cancelDialogOpen, setCancelDialogOpen] = useState(false);