coolify/tests/Feature/Subscription
Andras Bacsai d3beeb2d00 fix(subscription): prevent duplicate subscriptions with updateOrCreate
- Replace manual subscription create/update logic with updateOrCreate() and firstOrCreate() to eliminate race conditions
- Add validation in PricingPlans to prevent subscribing if team already has active subscription
- Improve error handling for missing team_id in customer.subscription.updated event
- Add tests verifying subscriptions are updated rather than duplicated
2026-03-24 10:52:41 +01:00
..
CancelSubscriptionActionsTest.php chore: prepare for PR 2026-02-26 18:22:03 +01:00
RefundSubscriptionTest.php fix(stripe): add error handling and resilience to subscription operations (#9030) 2026-03-18 15:38:59 +01:00
ResumeSubscriptionTest.php chore: prepare for PR 2026-02-26 18:22:03 +01:00
StripeProcessJobTest.php fix(subscription): prevent duplicate subscriptions with updateOrCreate 2026-03-24 10:52:41 +01:00
TeamSubscriptionEndedTest.php fix(stripe): add error handling and resilience to subscription operations 2026-03-18 15:21:59 +01:00
UpdateSubscriptionQuantityTest.php feat(subscription): add Stripe server limit quantity adjustment flow 2026-03-03 12:24:13 +01:00
VerifyStripeSubscriptionStatusJobTest.php fix(stripe): add error handling and resilience to subscription operations 2026-03-18 15:21:59 +01:00