Skip to content

Pass Customer Center's change plans configuration when loading expired transactions#6809

Closed
bilqisium wants to merge 1 commit into
mainfrom
tarek/change-plans-bug
Closed

Pass Customer Center's change plans configuration when loading expired transactions#6809
bilqisium wants to merge 1 commit into
mainfrom
tarek/change-plans-bug

Conversation

@bilqisium

@bilqisium bilqisium commented May 16, 2026

Copy link
Copy Markdown
Contributor

Motivation

When a subscription is expired, and we have filtered subscription by configuring Configure switchable subscriptions in the Customer Center, the filter wouldn't be applied.

Description

Fix the bug. Pass the change plans configuration when loading expired subscriptions.


Note

Low Risk
Low risk bug fix that only changes how changePlans configuration is passed when constructing purchase info for expired subscriptions; no auth or data persistence changes.

Overview
Fixes Customer Center subscription filtering for expired subscriptions by passing configuration.changePlans (instead of an empty list) when building PurchaseInformation for the most recent expired transaction.

This makes the switchable subscriptions / change-plan configuration apply consistently for both active and expired subscription displays.

Reviewed by Cursor Bugbot for commit 99f3d68. Bugbot is set up for automated code reviews on this repo. Configure here.

@bilqisium bilqisium requested a review from a team as a code owner May 16, 2026 21:06
@bilqisium bilqisium added bug pr:fix A bug fix labels May 16, 2026

@ajpallares ajpallares left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug pr:fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants