mirror of
https://github.com/vernu/textbee.git
synced 2026-06-19 04:58:33 -04:00
- switchPlan now resolves plan strictly by polarProductId (no name fallback when product ID is provided); throws on unknown product ID - cancelSubscription: new method that deactivates only the subscription matching the cancelled product, instead of wiping all active subscriptions - Webhook handler: subscription.created/active/updated no longer hardcodes newPlanName='pro'; subscription.cancelled/canceled use cancelSubscription; subscription.revoked commented out Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>