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(condo): DOMA-10565 make recurrent payments pay if receipt was partially payed #5846

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

YEgorLu
Copy link
Contributor

@YEgorLu YEgorLu commented Feb 26, 2025

Before we checked if receipt had any payments. If it had, that means receipt was paid and we skip it.
Now we calculate how much was paid, based on "getNewPaymentsSum()" in RegisterMultiPaymentService. If we did not manually pay enough, receipt.toPay - paidAmount should be payed. RegisterMultiPaymentService knows how to calculate that number, we just need to send receipt to it . So filtering of receipts needed just for informational errors

@YEgorLu YEgorLu added the ✋🙂 Review please Comments are resolved, take a look, please label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✋🙂 Review please Comments are resolved, take a look, please
Development

Successfully merging this pull request may close these issues.

1 participant