coolify/tests/Feature/Subscription
Andras Bacsai 566744b2e0 fix(stripe): add error handling and resilience to subscription operations
- Record refunds immediately before cancellation to prevent retry issues if cancel fails
- Wrap Stripe API calls in try-catch for refunds and quantity reverts with internal notifications
- Add null check in Team.subscriptionEnded() to prevent NPE when subscription doesn't exist
- Fix control flow bug in StripeProcessJob (add missing break statement)
- Cap dynamic server limit with MAX_SERVER_LIMIT in subscription updates
- Add comprehensive tests for refund failures, event handling, and null safety
2026-03-18 15:21:59 +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 2026-03-18 15:21:59 +01:00
ResumeSubscriptionTest.php chore: prepare for PR 2026-02-26 18:22:03 +01:00
StripeProcessJobTest.php fix(stripe): add error handling and resilience to subscription operations 2026-03-18 15:21:59 +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