docs: update changelogs for dynamic pricing feature

This commit is contained in:
Graham McIntire 2026-03-06 14:00:58 -06:00
parent 9a4aa57521
commit 6e2bba4e88
No known key found for this signature in database
2 changed files with 26 additions and 0 deletions

View file

@ -1,3 +1,24 @@
2026-03-06
feat: dynamic global pricing configuration with Stripe integration
- Add default_free_devices and default_price_per_device to ApplicationSettings
- Update default price from $1.00 to $2.00/device/month
- Add Billing.default_free_devices/0 and default_price_per_device/0 with fallbacks
- Add StripeClient.create_price/1 for metered billing Price creation
- Add StripeClient.update_subscription_price/2 for price migrations
- Add Billing.migrate_all_subscriptions_to_price/1 with best-effort migration
- Add Admin.update_global_pricing/3 with validation and audit logging
- Add global defaults UI on /admin/organizations with confirmation dialog
- Update marketing pages to reflect $2/device/month pricing
Files: priv/repo/migrations/*seed_billing_settings.exs,
lib/towerops/settings/application_setting.ex,
lib/towerops/billing.ex,
lib/towerops/billing/stripe_client.ex,
lib/towerops/admin.ex,
lib/towerops/admin/audit_log.ex,
lib/towerops_web/live/admin/org_live/index.ex,
lib/towerops_web/live/admin/org_live/index.html.heex,
lib/towerops_web/controllers/page_html/home.html.heex
2026-03-06
feat: per-organization billing override admin UI
- Add custom_free_device_limit and custom_price_per_device nullable fields to organizations

View file

@ -1,3 +1,8 @@
2026-03-06 — Pricing Update
* Updated pricing to $2/device/month (previously $3 on marketing, $1 in code)
* First 10 devices remain free with all features
* Improved billing flexibility with per-organization customization
2026-03-06 — Per-Organization Billing Overrides
* Per-organization customization of free device limits and per-device pricing
* Organization settings page now reflects custom billing terms when set