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: handle subscription updates based on tier: #1690

Merged

Conversation

DonKoko
Copy link
Contributor

@DonKoko DonKoko commented Mar 19, 2025

  • When a subscription is updated, only update the tier in shelf if the updates subscription has higher tier than the current shelf tier
  • When a subscription is ended, only update the tier in shelf if the updated subscription has higher tier than the current shelf tier
  • When a subscription is paused, only update the tier in shelf if the updated subscription has higher tier than the current shelf tier

- When a subscription is updated, only update the tier in shelf if the updates subscription has higher tier than the current shelf tier
- When a subscription is ended, only update the tier in shelf if the updated subscription has higher tier than the current shelf tier
- When a subscription is paused, only update the tier in shelf if the updated subscription has higher tier than the current shelf tier
@DonKoko DonKoko linked an issue Mar 19, 2025 that may be closed by this pull request
@DonKoko DonKoko merged commit 9877105 into main Mar 19, 2025
4 checks passed
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.

Fix: webhook downgrading with multiple subscriptions
1 participant