Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cover edge case when pending subscriptions need to be canceled #1763

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

lovrocolic
Copy link
Collaborator

Context

This edge case is originally part of update-plan-subscription-fee feature. If plan that got updated has pending subscription whose new subscription fee is greater that the one from original plan, pending subscription needs to be canceled..

Description

This PR covers the described edge case and adds related specs

app/services/plans/update_service.rb Outdated Show resolved Hide resolved
@lovrocolic lovrocolic force-pushed the feat-missing-case-plan-edit branch from 28d82d5 to ca3974c Compare March 8, 2024 10:47
@lovrocolic lovrocolic merged commit fb539b9 into main Mar 8, 2024
7 checks passed
@lovrocolic lovrocolic deleted the feat-missing-case-plan-edit branch March 8, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants