Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

FroeMic
Copy link
Contributor

@FroeMic FroeMic commented Sep 18, 2025

What's New

  • The invoice table in the billing settings now shows up for users who had a subscription in the past and cancelled it
CleanShot 2025-09-18 at 16 09 53

Important

Allow past subscribers to view their invoices by updating UI components and backend logic to handle users with a Stripe customer ID but no active subscription.

  • Behavior:
    • BillingInvoiceTable and BillingDiscountView now render for past subscribers by checking stripe.customerId instead of activeSubscriptionId.
    • BillingInvoiceTable in BillingSettings.tsx shows invoices for users with a stripe.customerId, even if the subscription is canceled.
  • Backend:
    • retrieveInvoiceList in stripeBillingService.ts no longer requires subscriptionId, allowing invoice retrieval for past subscriptions.
    • getInvoices in stripeBillingService.ts fetches invoices for customers without active subscriptions.
  • Misc:
    • Removed unused imports and variables in BillingDiscountView.tsx and BillingUsageChart.tsx.

This description was created by Ellipsis for 39e6f6a. You can customize this summary. It will automatically update as commits are pushed.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. feat-users labels Sep 18, 2025
@FroeMic FroeMic enabled auto-merge September 18, 2025 14:31
@dosubot dosubot bot added the auto-merge This PR is set to be merged label Sep 18, 2025
@FroeMic FroeMic added this pull request to the merge queue Sep 18, 2025
Merged via the queue into main with commit 45215cb Sep 18, 2025
30 checks passed
@FroeMic FroeMic deleted the michael/lfe-6799 branch September 18, 2025 14:42
@dosubot dosubot bot removed the auto-merge This PR is set to be merged label Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat-users size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant