10 Commits

Author SHA1 Message Date
Timo
e3a28b0a1c feat(billing): add weekly_pro subscription plan
Adds a 2.99 EUR/week plan with a 3-day free trial alongside the existing
monthly and yearly subscriptions.

Backend: weekly_pro joins the supported subscription products, the
available product list and the Discord sales label. No schema change --
weekly Pro grants the same 100 credits per calendar month as monthly Pro,
so no column is needed to tell the two apart.

Paywall: weekly and yearly are the two prominent cards, monthly is a
selectable row below them. Weekly is preselected. Cards only render when
their RevenueCat package exists, and the selection falls back to a
visible plan so the CTA can never buy a product that is not loaded.

Trial eligibility: checkTrialOrIntroductoryPriceEligibility now gates the
trial copy. Apple grants one intro offer per subscription group, so with
two trial products a second free-trial promise would otherwise be shown
to users who get charged immediately. Anything but a clear ELIGIBLE is
treated as no trial, as the RevenueCat SDK recommends.

Analytics: trial_started previously fired on every subscription purchase,
including monthly which never had a trial. It now fires only for products
that actually carry one. paywall_viewed distinguishes trial_enabled from
trial_eligible and reports selected_plan.

Tests: 9 new cases covering the entitlement path, credits, renewal period
and trial allowance.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-10 12:50:38 +02:00
018b751723 App copy 2026-07-27 16:42:04 +02:00
5c48def4e1 TTikotok V4 2026-07-10 11:29:04 +02:00
9be9b2987b TTikotok 2026-07-08 22:07:59 +02:00
c40531b6ae Bug fixes 2026-07-05 17:52:43 +02:00
41327f9557 Fehler webhook discod 2026-07-02 23:28:30 +02:00
d37b49f1f6 Harte Paywall 2026-04-29 21:17:49 +02:00
08483c7075 Slefhostet und postgres 2026-04-02 11:39:57 +02:00
b1c99893a6 Launch 2026-03-29 10:26:38 -05:00
Timo Knuth
05d4f6e78b Initial commit for Greenlens 2026-03-16 21:31:46 +01:00