telepage

Summary

Telegram-first page publishing with credit packs and Stripe subscriptions — the only repo with live Stripe + production today. S1: live checkout verified end-to-end, webhook, refund/cancel path.

Code state

  • Repo: C:\Users\hanse\telepage
  • Branch: main
  • Last commit: 2026-10-16 12:21:29 +0800|feat: make /revamp work in production Telegram; keep top-ups on renewal; add missing indexes; remove legacy pipeline
  • Uncommitted files: 8
  • Graph: Architecture: 27 communities, 50 community pairs, 17 warning(s)
  • graph.db updated: 2026-10-27 00:33 Malay Peninsula Standard Time
  • README: no README found

Payments

Env var NAMES only (values never shown):

  • STRIPE_CREDIT_TOPUP_AMOUNT (.env.example)
  • STRIPE_INTERNAL_BILLING_EMAILS (.env.example)
  • STRIPE_INTERNAL_COUPON_ID (.env.example)
  • STRIPE_INTERNAL_ORG_IDS (.env.example)
  • STRIPE_PRICE_AGENCY (.env.example)
  • STRIPE_PRICE_AGENCY_PRO (.env.example)
  • STRIPE_PRICE_CREDIT_TOPUP (.env.example)
  • STRIPE_PRICE_PRO (.env.example)
  • STRIPE_PRICE_STARTER (.env.example)
  • STRIPE_SECRET_KEY (.env.example)
  • STRIPE_WEBHOOK_SECRET (.env.example)

Next actions

  • USER · 1:00 · by Thu 10-29 — Task 0.1 minimal live-mode check: Coolify key prefixes for telepage/Kolmn/Lobbe; telepage price IDs resolve in Stripe live; Airwallex prod shows approved.
  • USER · ≈5:00 — Send agent-drafted DMs on IG/X, ≥1/day rotating across the three products: telepage targets from the Task 1.3 list (touch #1 by Mon 11-02 starts the 2026-12-15 checkpoint clock), Kolmn creators (Task 2.3 Step 1, pulled forward), Lobbe captains/squad organisers (Task 2.4 Step 1, pulled forward). No calls, no walk-ins.
  • USER · 0:30 · Fri 11-06 — Task 0.5: S0 gate (rails verified on all three) + ship check; set next week’s hour split (Q8); telepage DM tally ≥5.
  • Step 1: Stripe (telepage) → Products: record price + interval for each of STRIPE_PRICE_STARTER, STRIPE_PRICE_PRO, STRIPE_PRICE_AGENCY, STRIPE_PRICE_AGENCY_PRO, STRIPE_PRICE_CREDIT_TOPUP (IDs in telepage/.env.example lines 117–123). Result: 5-row table of price/interval; flag any ID that 404s in live mode.
  • Step 2: Mode inventory. Coolify env for telepage (STRIPE_SECRET_KEY), Kolmn (STRIPE_SECRET_KEY, STRIPE_PRO_PRICE_ID, STRIPE_PREMIUM_PRICE_ID, STRIPE_WEBHOOK_SECRET), Lobbe (AIRWALLEX_ENV, AIRWALLEX_API_KEY) — record only prefix sk_live/sk_test/rk_live and demo|prod. Result: table of live/test/unknown per product [live] could not determine.
  • Step 2: Verify S0 (all three, concurrently): (a) telepage: live checkout bought with own card, webhook 2xx, refund done (1.1 Steps 4–6); (b) Kolmn: live keys + live webhook, own-card $7 charge verified (1.4 Steps 2–6); (c) Lobbe: eas init and EAS credentials done, iOS and Android builds submitted to the stores (1.6 Steps 2–3, 8; Airwallex prod is already approved, Q6); Task 1.7 (fee split + no-show deposit) diff reviewed by the user. A miss becomes the top item for Week 2; the other products continue — no product waits for another (D2). D1–D6 and Q1–Q20 are answered; the Task 1.8 content lineup runs in parallel and never gates S0.
  • Step 1 (AGENT, deepseek-worker): code-review-graph update + detect-changes in telepage; audit of the checkout → webhook → entitlement path; list the Stripe event types handled by parseWebhookEvent, how STRIPE_CREDIT_TOPUP_AMOUNT is used, what happens when STRIPE_PRICE_CREDIT_TOPUP is blank (blank in .env.example). Result: audit lists handled events, failure paths and a ranked defect list.
  • Step 7 (AGENT): Write LIVE_VERIFICATION.md; run npx vitest run src/lib/billing/stripe.test.ts src/server/routes/api/billing-credits.test.ts in the worktree (use the repo’s existing test runner if different). Verify: Stripe live dashboard shows the payment id recorded in the report; tests pass; S1 telepage sub-gate is met only when a stranger pays (Task 1.3) — this task proves the rails.

$20K Blueprint v2 · Aug 2026 Recovery Sprint
Execution plan
Revenue design spec