Files
chat_backend/llm_be/monetization/signals.py
T
westfarn 29c69b91f7
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 10s
Add monetization app with RevenueCat webhooks alongside Stripe.
Rename finance → monetization (keep finance_* tables via app label), add
RevenueCat webhook + ledger upserts so store IAP syncs subscriptions and
billing history like Stripe. Companion to chat_web_app#100 / #68.
2026-08-04 03:32:51 -07:00

9 lines
258 B
Python

"""Finance app signals."""
def seed_plans_on_migrate(sender, **kwargs):
"""Ensure the subscription catalog exists after migrate."""
from monetization.services.plans import seed_subscription_plans
seed_subscription_plans(update_existing=False)