Files
Stirling-PDF/app
Connor Yoh 75006b655a Prepaid bundles: bundle Stripe Price + coupon on the pricing policy
Store the one-time bundle Price id + coupon id per pricing policy (same home as
the metered price ids) instead of an edge-fn env var / lookup key — ops point a
policy at its Stripe objects with a SQL UPDATE, no redeploy.

- V42: pricing_policy.bundle_stripe_price_id + bundle_coupon_id (nullable;
  additive/idempotent). NULL = bundles not offered for that policy.
- PricingPolicy entity gains the two fields.

The create-payg-bundle-checkout edge fn (SaaS repo) now reads them via the
payg_get_bundle_checkout_context RPC.
2026-07-15 14:02:39 +01:00
..
2026-07-11 12:48:53 +01:00