[PM-34565] Save Cancellation Details for Scheduled Subscriptions#7535
Conversation
|
New Issues (4)Checkmarx found the following issues in this Pull Request
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7535 +/- ##
==========================================
- Coverage 59.26% 59.24% -0.02%
==========================================
Files 2082 2082
Lines 92060 91994 -66
Branches 8181 8177 -4
==========================================
- Hits 54557 54501 -56
+ Misses 35562 35553 -9
+ Partials 1941 1940 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…or-scheduled-subscriptions
amorask-bitwarden
left a comment
There was a problem hiding this comment.
Looks great - nice work.
…or-scheduled-subscriptions
…or-scheduled-subscriptions
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed PR #7535 which simplifies how deferred price increase subscription cancellations and reinstatements are handled. The cancellation path now releases the active schedule (rather than rewriting its phases) and stamps a Code Review DetailsNo actionable findings. A few notes verified during review:
|
|
* refactor(billing): add constant for deferred price increase cancellation * feat(billing): update cancellation logic to release schedules and set metadata * feat(billing): update reinstatement logic to recreate schedules * style(billing): cleanup formatting * fix(billing) run dotnet format * docs(billing): clarify stripe subscription update behavior regarding schedules





🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-34565
📔 Objective
Updates how deferred price increase subscription cancellations and reinstatements are handled. The changes ensure that when a subscription with a pending price increase is cancelled at period end, the associated schedule is released (not updated) with cancellationDetails being updated, a specific metadata flag is set, and reinstatement logic is simplified to clear this flag and reschedule appropriately. Tests have been updated to reflect these new behaviors.
📸 Screenshots
Screen.Recording.2026-04-23.at.4.31.36.PM.mov