[ 
https://issues.apache.org/jira/browse/FINERACT-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihaly Dallos updated FINERACT-1832:
------------------------------------
    Description: 
This issue appears only when a charge is fully paid from a {*}saving 
account{*}. At this moment paying only _instalment fee_ is supported this way. 

*Test steps:*
 * Create a saving account
 * Activate it
 * Create a new loan with charge
 * Try to Pay the Charge

POST: {{{}url{}}}/loans/442/charges/138/?command=pay

Payload: 
{code:java}
{    "transactionDate": "30 November 2022",
    "dateFormat": "dd MMMM yyyy",
    "locale": "en" 
}
{code}
 

*Actual result:*
The POST request is successful but on the Loan the amount was not marked as 
paid.

*Expected result:*
The amount should be marked as paid for the charge OR at least proper error 
message returned.

  was:
This issue appears only when a charge is fully paid from a {*}saving 
account{*}. At this moment paying only _instalment fee_ is supported this way. 

*Test steps:*
 * Create a saving account
 * Activate it
 * Create a new loan with charge
 * Try to Pay the Charge

POST: {{{}url{}}}/loans/442/charges/138/?command=pay

Payload: 
{{{ 
  "transactionDate": "30 November 2022",
  "dateFormat": "dd MMMM yyyy", 
  "locale": "en" 
}}{{{}}{}}}

*Actual result:*
The POST request is successful but on the Loan the amount was not marked as 
paid.

*Expected result:*
The amount should be marked as paid for the charge OR at least proper error 
message returned.


> Charge pay functionality is not working
> ---------------------------------------
>
>                 Key: FINERACT-1832
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1832
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Mihaly Dallos
>            Priority: Minor
>              Labels: PepperSoup
>
> This issue appears only when a charge is fully paid from a {*}saving 
> account{*}. At this moment paying only _instalment fee_ is supported this 
> way. 
> *Test steps:*
>  * Create a saving account
>  * Activate it
>  * Create a new loan with charge
>  * Try to Pay the Charge
> POST: {{{}url{}}}/loans/442/charges/138/?command=pay
> Payload: 
> {code:java}
> {    "transactionDate": "30 November 2022",
>     "dateFormat": "dd MMMM yyyy",
>     "locale": "en" 
> }
> {code}
>  
> *Actual result:*
> The POST request is successful but on the Loan the amount was not marked as 
> paid.
> *Expected result:*
> The amount should be marked as paid for the charge OR at least proper error 
> message returned.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to