refactor: Remove resolveStripeCustomerId and harden tier sync (#205) #209
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Relates to #205
Milestone 3: Service - admin override + sync hardening
Files
backend/src/features/subscriptions/domain/subscriptions.service.tsChanges
Delete
resolveStripeCustomerId()(lines 173-198):Update
adminOverrideTier()(lines 899-960):Make
syncTierToUserProfile()blocking (lines 804-816):Acceptance Criteria
resolveStripeCustomerId()deletedsyncTierToUserProfile()throws on failure (no error swallowing)