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

Reapply "feat(invoice): Avoid generating 0 amount charge fees (#3032)" (#3059) #3068

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

vincent-pochet
Copy link
Collaborator

Description

This PR follow #3020 the goal is to stop generating empty fees (0 units, amount and events without adjustments or true up fees).

The reason behind this change is scalability as for now, depending on the plan setups, it appears that 98% of generated fees does not have an amount...

NOTE: a new feature will improve the edit fees feature since this PR will prevent creation of adjustment fees from the UI if no event have been received for a specific billable metric on a period.

@vincent-pochet vincent-pochet force-pushed the misc-prevent-zero-amount-fees branch from f40ce71 to 89fbadf Compare January 23, 2025 08:53
@vincent-pochet vincent-pochet force-pushed the misc-prevent-zero-amount-fees branch 2 times, most recently from 672f572 to 53eb055 Compare January 23, 2025 10:44
@vincent-pochet vincent-pochet force-pushed the misc-prevent-zero-amount-fees branch from 53eb055 to 774f1fc Compare January 27, 2025 12:42
@vincent-pochet vincent-pochet merged commit 70522d5 into main Jan 27, 2025
6 checks passed
@vincent-pochet vincent-pochet deleted the misc-prevent-zero-amount-fees branch January 27, 2025 13:58
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.

2 participants