Files
CatoandClaude d4e9a58580 Pay in francs (card, TWINT), visible models, a daily limit with a way on (#362)
- A second way to pay for a pass: Swiss francs on Stripe's hosted page,
  where the Stripe account's methods (card, TWINT, wallets) are offered.
  Off until STRIPE_SECRET_KEY and a CHF price are set; each rail is on or
  off by itself. Stripe is told nothing about the Heidi account. Own
  webhook path, /api/pay/webhook/stripe. The provider is paykit's (PR
  bitbaum/paykit#19), copied in lib/pay/stripe-provider.ts until 0.4.0 is
  released, with a test that fails the day the package has it.
- /pass: one card per pass, a price and button per rail; buying is the one
  filled action. A failed checkout no longer prints "fetch failed".
- /owner/payments: each rail, what is set (names only), what is missing,
  and the webhook addresses to paste.
- Chat: a Model button for everyone; the sheet names the free models.
- A daily allowance of free turns (100, HEIDI_FREE_TURNS_PER_DAY), three
  times with a pass, none with an own key; the chat says so and links /pass.
- /pass added to the layout audit.


Claude-Session: https://claude.ai/code/session_019MDtmteJuDGFouA1itJ5tM

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-26 07:13:14 +01:00
..