adamsaghy commented on PR #5940:
URL: https://github.com/apache/fineract/pull/5940#issuecomment-4742027347

   > > > Hi @adamsaghy, I have updated the charge attachment flows locally to 
reject charges whose calculated amount becomes 0 after applying account 
currency rounding rules, instead of returning silently.
   > > > I have a question regarding future charges such as Savings Account 
Percentage of Withdrawal Charges and Share Account Redeem Charges.
   > > > In these cases, the charge is attached successfully first and the 
amount is calculated only when the business transaction occurs. If the 
calculated charge amount becomes 0 after rounding, what is the expected 
behavior:
   > > > 
   > > > 1. Reject the business transaction (withdrawal/redeem) with a 
validation error.
   > > > 2. Allow the transaction but skip creating/applying the charge similar 
to silent return.
   > > > 3. Keep the current behavior and allow a 0 value charge result.
   > > > 
   > > > Could you please clarify the expected behavior for these future-charge 
scenarios so I can align the implementation consistently across Savings and 
Shares?
   > > > Thank you!
   > > 
   > > 
   > > I see no changes, no reply on my questions and concerns.. i have stopped 
reviewing the PR at half time...
   > 
   > Hi @adamsaghy,
   > 
   > Sorry for the confusion. When I wrote that I had updated the charge 
attachment flows locally, I meant that the changes were only completed in my 
local branch and had not yet been pushed or amended into the PR.
   > 
   > My intention was to first finish addressing all of your review comments, 
validate everything thoroughly, and then push a single updated commit together 
with replies to each review comment. Because of that, I had not yet responded 
individually to the review feedback.
   > 
   > I realize now that my comment made it sound like the PR had already been 
updated, which was not the case. Sorry for causing you to spend time reopening 
the review.
   > 
   > I am currently working through all of the review comments and will push 
the updated changes together with responses shortly.
   > 
   > Regarding the future-charge scenarios, that question was meant as a design 
clarification while implementing the remaining changes so I can keep the 
behavior consistent across Savings and Shares. This is the only thing that I 
need to understand and resolve and then I will ammend the commit.
   > 
   > Thank you for your patience and for the detailed review feedback.
   
   Thank you for the clarification ;)
   
   Regarding zero amount: Lets use option 1 **Reject the business transaction 
(withdrawal/redeem) with a validation error.**
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to