[Mifos-developer] DOUBLE ENTRY TRANSACTIONS INQUIRY

8 views
Skip to first unread message

Peter oliver

unread,
Mar 28, 2025, 2:27:06 AMMar 28
to mifos-d...@lists.sourceforge.net, mifos-us...@lists.sourceforge.net, mifos...@lists.sourceforge.net
Hello @all,

I am experiencing double entry in a specific loan product when repayments are done via the phone app therefore leading to a double entry of the transaction/repayment in the system.

Any help will be much appreciated.

See below the attached snip for the specific entries where the repayment is regenerated.

Screenshot 2025-02-20 125607.png

Below is the logs as the "end makeRepayment" is regenerated.

2025-02-19 15:36:09.143  INFO 2397862 --- [nio-7949-exec-4] o.a.f.portfolio.loanaccount.domain.Loan  : LoanRepayment->handleRepaymentOrRecoveryOrWaiverTransaction->004, loanId=225
2025-02-19 15:36:09.143  INFO 2397862 --- [nio-7949-exec-4] o.a.f.portfolio.loanaccount.domain.Loan  : LoanRepayment->end2 regenerateRepaymentScheduleWithInterestRecalculation, loanId=225
2025-02-19 15:36:09.144  INFO 2397862 --- [nio-7949-exec-4] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in3 makeRepayment, loanId=225
2025-02-19 15:36:09.163  INFO 2397862 --- [nio-7949-exec-4] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in4 makeRepayment, loanId=225
2025-02-19 15:36:09.164  INFO 2397862 --- [nio-7949-exec-4] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in5 makeRepayment, loanId=225
2025-02-19 15:36:09.167  INFO 2397862 --- [nio-7949-exec-4] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in6 makeRepayment, loanId=225
2025-02-19 15:36:09.168  INFO 2397862 --- [nio-7949-exec-4] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in7 makeRepayment, loanId=225
2025-02-19 15:36:09.168  INFO 2397862 --- [nio-7949-exec-4] oanWritePlatformServiceJpaRepositoryImpl : LoanRepayment->end makeRepayment, loanId=225
2025-02-19 15:36:09.181  INFO 2397862 --- [nio-7949-exec-4] o.a.f.m.MibC2bMpesaCallBackResource      : 记账系统还款记账成功, loanId: 225 , transId : J9NFPED
2025-02-19 15:36:09.181  INFO 2397862 --- [nio-7949-exec-4] o.a.f.m.MibC2bMpesaCallBackResource      : get cTob confirm end
2025-02-19 15:36:09.324  INFO 2397862 --- [nio-7949-exec-7] o.a.fineract.mibext.MibWebApiResource    : 开始进行Loantransaction,,{"paymentTypeId":1,"dateFormat":"yyyy-MM-dd","transactionAmount":"30","locale":"en","transactionDate":"2025-02-19"}
2025-02-19 15:36:09.327  INFO 2397862 --- [nio-7949-exec-7] o.a.f.p.l.h.LoanRepaymentCommandHandler  : LoanRepayment->processCommand, loanId=225
2025-02-19 15:36:09.327  INFO 2397862 --- [nio-7949-exec-7] oanWritePlatformServiceJpaRepositoryImpl : LoanRepayment->makeLoanRepayment, loanId=225
2025-02-19 15:36:09.328  INFO 2397862 --- [nio-7949-exec-7] oanWritePlatformServiceJpaRepositoryImpl : LoanRepayment->start assembleFrom, loanId=225
2025-02-19 15:36:09.363  INFO 2397862 --- [nio-7949-exec-7] oanWritePlatformServiceJpaRepositoryImpl : LoanRepayment->end assembleFrom, loanId=225
2025-02-19 15:36:09.363  INFO 2397862 --- [nio-7949-exec-7] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in1 makeRepayment, loanId=225
2025-02-19 15:36:09.363  INFO 2397862 --- [nio-7949-exec-7] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in11 makeRepayment, loanId=225
2025-02-19 15:36:09.369  INFO 2397862 --- [nio-7949-exec-7] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in2 makeRepayment, loanId=225
2025-02-19 15:36:09.370  INFO 2397862 --- [nio-7949-exec-7] o.a.f.portfolio.loanaccount.domain.Loan  : LoanRepayment->in loan, loanId=225
2025-02-19 15:36:09.371  INFO 2397862 --- [nio-7949-exec-7] o.a.f.portfolio.loanaccount.domain.Loan  : LoanRepayment->handleRepaymentOrRecoveryOrWaiverTransaction->001, loanId=225
2025-02-19 15:36:09.371  INFO 2397862 --- [nio-7949-exec-7] o.a.f.portfolio.loanaccount.domain.Loan  : LoanRepayment->handleRepaymentOrRecoveryOrWaiverTransaction->002, loanId=225
2025-02-19 15:36:09.371  INFO 2397862 --- [nio-7949-exec-7] o.a.f.portfolio.loanaccount.domain.Loan  : LoanRepayment->handleRepaymentOrRecoveryOrWaiverTransaction->003, loanId=225
2025-02-19 15:36:09.381  INFO 2397862 --- [nio-7949-exec-7] o.a.f.portfolio.loanaccount.domain.Loan  : LoanRepayment->handleRepaymentOrRecoveryOrWaiverTransaction->004, loanId=225
2025-02-19 15:36:09.381  INFO 2397862 --- [nio-7949-exec-7] o.a.f.portfolio.loanaccount.domain.Loan  : LoanRepayment->end2 regenerateRepaymentScheduleWithInterestRecalculation, loanId=225
2025-02-19 15:36:09.382  INFO 2397862 --- [nio-7949-exec-7] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in3 makeRepayment, loanId=225
2025-02-19 15:36:09.398  INFO 2397862 --- [nio-7949-exec-7] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in4 makeRepayment, loanId=225
2025-02-19 15:36:09.400  INFO 2397862 --- [nio-7949-exec-7] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in5 makeRepayment, loanId=225
2025-02-19 15:36:09.404  INFO 2397862 --- [nio-7949-exec-7] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in6 makeRepayment, loanId=225
2025-02-19 15:36:09.404  INFO 2397862 --- [nio-7949-exec-7] o.a.f.p.l.d.LoanAccountDomainServiceJpa  : LoanRepayment->in7 makeRepayment, loanId=225
2025-02-19 15:36:09.404  INFO 2397862 --- [nio-7949-exec-7] oanWritePlatformServiceJpaRepositoryImpl : LoanRepayment->end makeRepayment, loanId=225
2025-02-19 15:36:11.814  INFO 2397862 --- [nio-7949-exec-1] o.a.f.m.util.HeaderMapRequestWrapper     : getHeader --->Authorization


Regards.

Peter oliver

unread,
Apr 7, 2025, 7:45:38 AMApr 7
to fvan...@gmx.de, Mifos software development

On Sun, Mar 30, 2025 at 3:54 PM Felix van Hove via Mifos-developer <mifos-d...@lists.sourceforge.net> wrote:
Hi Peter,

Sorry for the late reply and sorry for not having looked enough at
Fineract code to be able to help. I strongly suggest to ask this
question on the Fineract mailing list, as there are more people that
should know the relevant LoanAccountDomainServiceJpa .

What Fineract version do you use, BTW?

Felix
> Mifos-developer mailing list
> mifos-d...@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer



Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer

Peter oliver

unread,
Apr 8, 2025, 9:50:35 AMApr 8
to fvan...@gmx.de, Mifos software development
Hello, 

Sure, I was actually thinking of refactoring the whole project to the current version although it is going to be a lot of work for months now that it is live on several organizations using the platform and making it seamless would be quite something.

Any advice on things to take note on during the process?

Regards.

On Tue, Apr 8, 2025 at 4:33 PM Felix van Hove via Mifos-developer <mifos-d...@lists.sourceforge.net> wrote:
Sorry to say, Peter, but the current release is 1.11. Not many here
might be willing to look into an issue that is so many releases behind.
Can you possibly update your backend?
Reply all
Reply to author
Forward
0 new messages