Skip to content

customer_id - #711

Merged
epompeii merged 1 commit into
u/ep/customer-idfrom
claude/fix-canceled-subscription-billing-bSeZA
Mar 18, 2026
Merged

epompeii merged 1 commit into
u/ep/customer-idfrom
claude/fix-canceled-subscription-billing-bSeZA

Conversation

@epompeii

Copy link
Copy Markdown
Member

No description provided.

The runner billing path in BillingState::customer_id() was discarding
the PlanStatus returned by get_metered_plan_status(), allowing billing
to proceed even for canceled/inactive subscriptions. Now check
status.is_active() before caching the customer ID, matching the
existing correct pattern in QueryPlan::get_active_metered_plan().

https://claude.ai/code/session_014p6Ri1E5zgPLKJ2CXihaPe
@epompeii
epompeii changed the base branch from main to u/ep/customer-id March 18, 2026 02:14
@epompeii
epompeii merged commit 03a7c7b into u/ep/customer-id Mar 18, 2026
51 checks passed
@epompeii
epompeii deleted the claude/fix-canceled-subscription-billing-bSeZA branch March 18, 2026 02:14
@github-actions github-actions Bot mentioned this pull request Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants