Skip to content

fix: show purchased subscriptions regardless of plan visibility#66

Merged
web-ppanel merged 3 commits into
mainfrom
develop
May 27, 2026
Merged

fix: show purchased subscriptions regardless of plan visibility#66
web-ppanel merged 3 commits into
mainfrom
develop

Conversation

@web-ppanel

Copy link
Copy Markdown
Contributor

Changes

This PR fixes issue #65 where users couldn't see their active subscriptions on the subscription management page when the plan's show field was set to false.

Problem

The frontend was incorrectly using the plan's show field to filter user subscriptions on the /subscribe page. The show field should only control whether a plan appears in the purchase portal for new buyers, not whether existing subscribers can view their own subscriptions.

Solution

Modified the subscription display logic to ensure users can always see and manage their purchased subscriptions, regardless of the plan's visibility settings.

Testing

  • Verified that subscriptions remain visible on /subscribe when plan's show = false
  • Confirmed that new users still cannot see hidden plans on the purchase portal

Closes #65

web-ppanel added 2 commits May 27, 2026 09:05
- Change loadPath from './assets/locales/...' to '/assets/locales/...'
- Fixes 404 errors for affiliate.json and menu.json in production
- Resolves #64
Users with active subscriptions should always see their plans on the
/subscribe page, even when the plan's 'show' field is set to false.

The 'show' field controls whether a plan appears in the purchase portal
for new buyers, but should not affect the visibility of already-purchased
subscriptions in the user's subscription management view.

Fixes #65
@netlify

netlify Bot commented May 27, 2026

Copy link
Copy Markdown

Deploy Preview for ppane-docs ready!

Name Link
🔨 Latest commit ea2c2ef
🔍 Latest deploy log https://app.netlify.com/projects/ppane-docs/deploys/6a16d49719e8a50008c4c3aa
😎 Deploy Preview https://deploy-preview-66--ppane-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Add check for subscribe.sell field before showing Renewal button
- Prevents users from entering renewal flow for plans that are not for sale
- Closes #68
@web-ppanel web-ppanel merged commit 0fd7973 into main May 27, 2026
4 of 5 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.

[Bug] Subscription management page hides purchased plans when show is set to false

1 participant