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

fix(fees): Fix creating yearly in-arrears subscription fee #1707

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

ivannovosad
Copy link
Contributor

Context

After terminating a subscription for a yearly plan with a subscription fee paid in arrears, the invoice does not include any fees.

Description

This PR fixes a bug in Invoices::CalculateFeesService::should_create_yearly_subscription_fee? method that now handles terminated subscriptions for plans paid in arrears.

@ivannovosad ivannovosad merged commit d7d2723 into main Feb 20, 2024
6 checks passed
@ivannovosad ivannovosad deleted the fix-create-yearly-subscription-fees branch February 20, 2024 13:52
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.

3 participants