Files
zeekayandHanzo Dev b75b192e06 billing: commerce sells no trials
No plan opens in a trial and nothing opens one:
- billing/trial (the store trial with its $20 credit) and its route
  POST /store/:storeid/trial are gone.
- The card sale's trial branch and promo.TakeTrial are gone, along with the
  wallet and PayPal refusals of trial plans and the trial fields of the sale
  receipt and notice.
- plan.Plan, the catalog decoder and the served plan carry no
  trialPeriodDays.
- engine.StartSubscription always starts a subscription active.
- A referral gift extends a paid plan the subject holds and opens none: a
  subject on no paid plan is refused.

A trial opened before this runs to its end and ends there. engine.IsDue never
answers due for a trialing row, card or no card, and engine.Over is true at
its end. The renewal sweep lapses it, so it converts to nothing, charges
nobody and arms no reload.

The commerce admin paywall and store access unlock on any paid plan
(billing.Unlocks): a rung on sale or a retired one its holder still pays for,
active on a period that covers now and payment-backed, or a trial still open.
A trial credit is no longer access. Store access reads both money stores, as
the paywall does.


Co-authored-by: Hanzo Dev <[email protected]>
2026-11-12 13:23:10 -08:00
..
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00
2026-09-23 21:52:16 -07:00