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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(min-spend): Add minimum commitment locales #1783

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Conversation

ivannovosad
Copy link
Contributor

Roadmap Task

馃憠 https://getlago.canny.io/feature-requests/p/set-minimum-spend-for-subscriptions

Context

As a user, I want to define the minimum spend that applies to the customer's plan. Consider the following monthly plan:

  • Subscription fee = $50 per month (in arrears);
  • Usage-based charge = $10 per unit per month (in arrears); and
  • Monthly minimum spend = $100.

If at the end of the month, the customer has consumed 3 units, their total invoice will be: $50 + 3 * $10 = $80 + $20 (true-up fee) = $100.

Description

This PR adds locales for minimum commitment.

@ivannovosad ivannovosad merged commit fadb41f into main Mar 14, 2024
7 checks passed
@ivannovosad ivannovosad deleted the min-spend-locales branch March 14, 2024 10:09
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.

None yet

2 participants