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
..
2026-03-24 10:52:41 +01:00
2026-03-10 22:11:52 +01:00
2026-02-25 11:38:09 +01:00
2026-03-12 13:32:43 +01:00
2026-03-09 17:20:33 +01:00
2026-02-25 12:00:24 +01:00
2026-02-28 13:18:44 +01:00
2026-02-25 11:28:33 +01:00
2026-03-18 13:53:01 +01:00
2026-03-13 17:02:05 +01:00
2026-03-10 22:11:52 +01:00
2026-03-19 11:42:29 +01:00
2026-03-19 23:29:50 +01:00
2026-03-12 13:25:10 +01:00
2026-03-23 10:37:49 +01:00
2026-03-01 18:49:40 +01:00
2026-02-25 11:52:18 +01:00
2026-03-19 22:17:55 +01:00
2026-03-19 21:56:58 +01:00
2026-03-23 15:15:02 +01:00
2026-03-23 21:33:40 +01:00
2026-03-03 16:43:29 +01:00
2026-02-23 14:28:28 +01:00
2026-03-10 18:34:37 +01:00
2026-02-28 13:18:44 +01:00
2026-02-15 13:43:08 +01:00
2026-03-10 20:37:22 +01:00
2026-02-25 11:18:46 +01:00
2026-03-23 10:37:49 +01:00
2026-02-25 12:07:29 +01:00
2026-02-28 18:03:29 +01:00
2026-03-03 09:50:05 +01:00
2026-03-03 12:28:16 +01:00
2026-03-10 22:19:19 +01:00
2026-03-03 17:03:59 +01:00
2026-03-23 10:37:49 +01:00
2026-03-13 17:07:50 +01:00
2026-03-13 13:32:58 +01:00
2026-02-23 13:23:12 +01:00
2026-03-11 17:15:17 +01:00
2026-03-12 13:23:13 +01:00
2026-03-11 06:36:12 +01:00
2026-03-10 09:59:19 +01:00
2026-03-23 15:15:02 +01:00
2026-02-23 13:02:06 +01:00
2026-03-23 21:56:50 +01:00
2026-03-10 20:37:22 +01:00
2026-03-03 12:28:16 +01:00
2026-02-24 10:17:16 +01:00