fix
This commit is contained in:
1 parent
feebf7d3c1
commit
486502852e
41 files changed
+1311
-259
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# V18 — plan content credit prices
|
||||
|
||||
Each plan popup now edits only Titles (AI), Descriptions (AI), and SEO meta title + description (AI). Supports fractional rates to four decimal places. Blank means inherit the platform defaults: 0.10, 0.25, 0.10 respectively. Company overrides take precedence.
|
||||
|
||||
Migration 053 adds fixed-point fractional credit accounting **without changing the old integer columns**, so existing credit usage remains intact. New dashboard processing jobs store selected output types and debit the summed effective per-output costs (no model-token surcharge). The backend safeguards the wallet atomically and updates current billing cycle fractional spending.
|
||||
|
||||
The company dashboard's `GET /api/billing/processing-costs` returns effective prices to ensure on-screen estimates use the correct assigned plan/company rules. API jobs without output lists derive the default price from processing type. BYOK and hash-unchanged paths continue skipping platform inference credits.
|
||||
|
||||
Legacy integer credit charges for unrelated services (e.g. campaigns) remain separate; this update does not change their pricing model. Invoice amounts must still come from Stripe, not inferred from usage credits. A complete Go 1.25 build and PostgreSQL integration run are required before production deployment.
|
||||
Reference in new issue
Block a user