DashboardsentryGetsentry billing charge path — 5-funct…

Getsentry billing charge path — 5-function call chain for plan upgrades

Category: architecture
Confidence: 1.00
ID: 019d8be7-a32d-7b72-89ab-33b561b52e5c
Project ID: 702228c8-56bc-4694-8d5a-174ac2f29105
Cross-project: No
Recalled in other projects: 1
Source session: (none)
Created: 2026-07-30 15:46:04
Updated: 2026-07-30 15:46:04

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 1 22d ago

Content

Getsentry billing charge path — 5-function chain: API → switch_performance_plan()change_plan()create_invoice()capture_charge()_perform_charge(). Custom billing via stripe.PaymentIntent.create() + confirm, no Subscriptions. BasePlan.id = Stripe Price ID. Plan manager: getsentry.billing.plans.manager. SPT hooks at capture_charge() with shared_payment_granted_token. Cell-silo subscription writes via cell_request() PUT to /api/0/customers/{org_slug}/subscription/ (not direct ORM). Subscription.plan is CharField; use subscription.current_plan for BasePlan object.

Move to: