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

Skip to content

Conversation

FroeMic
Copy link
Contributor

@FroeMic FroeMic commented Sep 24, 2025

Fixes

  • For legacy billing, the base-fee is now correctly shown under subscription, not usage-based

Important

Fixes base-fee categorization for legacy billing in stripeBillingService.ts, ensuring it is shown under subscription instead of usage-based.

  • Behavior:
    • Fixes base-fee categorization for legacy billing in stripeBillingService.ts.
    • Base-fee now correctly shown under subscription instead of usage-based.
  • Functions:
    • Updates mapInvoiceToTableRow to separate flat fees from usage fees for metered prices.
    • Calculates flatFeeAmount and unitPriceAmount to adjust subscriptionCents and usageCents accordingly.

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

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 24, 2025
@FroeMic FroeMic changed the title Fix base-fee aggregation for legacy billing fix(billing): Fix base-fee aggregation for legacy billing Sep 24, 2025
@FroeMic FroeMic enabled auto-merge September 24, 2025 18:06
@dosubot dosubot bot added auto-merge This PR is set to be merged bug Something isn't working labels Sep 24, 2025
@FroeMic FroeMic added this pull request to the merge queue Sep 24, 2025
Merged via the queue into main with commit 4aeea98 Sep 24, 2025
31 checks passed
@FroeMic FroeMic deleted the michael/gtm-1447 branch September 24, 2025 18:18
@dosubot dosubot bot removed the auto-merge This PR is set to be merged label Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant