Thanks Jacques, I have created a ticket for this issue and you can find it here Billing Account Balance Not Updating After Receiving Payment <https://issues.apache.org/jira/browse/OFBIZ-13215>
Emad, I'm not sure if I fully understand your question, but in the payment receiving flow, I do see the code for settling OrderPaymentPreference. However, for some reason, it doesn't seem to reach that point. On Wed, Mar 5, 2025 at 3:10 PM Jacques Le Roux <[email protected]> wrote: > Hi Rohit, Emad, > > If it's a bug please create and fill a Jira: https://s.apache.org/a5mc3 > > TIA > > Jacques > > Le 04/03/2025 à 16:25, Emad Radwan a écrit : > > Hello Rohit, > > > > Do we have code to reset the billing account? > > > > Regards, > > Emad > > > > On Tue, Mar 4, 2025 at 2:55 PM Rohit Koushal < > > [email protected]> wrote: > > > >> *Hey Emad,* > >> > >> *Seems like a bug to me. I’ve confirmed that after receiving the > payment, > >> invoice is marked as paid, and the payment status updates to "received." > >> However, the OrderPaymentPreference remains in the "unpaid" status, > which > >> is the root cause of this issue. If that gets settled as well, it should > >> reset the billing amount.* > >> > >> On Sun, Feb 16, 2025 at 6:57 PM Emad Radwan<[email protected]> > wrote: > >> > >>> Hello Community, > >>> > >>> Any hint, please? > >>> > >>> Regards, > >>> Emad > >>> > >>> On Sat, Feb 8, 2025 at 5:36 PM Emad Radwan<[email protected]> > >> wrote: > >>>> Hello Community, > >>>> > >>>> Now if create a sales order and use a billing account and complete the > >>>> order workflow till Completed status, and edit the generated payment > >>> using > >>>> whatever payment method and complete payment workflow to status > >>> Confirmed; > >>>> why this doesn't reset the billing account balance back with the paid > >>>> amount? > >>>> > >>>> My understanding is that a billing account is used for sales on > credit, > >>> so > >>>> when a customer pays later for the payment, why is this not reflected > >> on > >>>> the billing account balance? > >>>> > >>>> Regards, > >>>> Emad > >>>> > >> > >> -- > >> > >> *Kind Regards,* > >> *Rohit Koushal | Engineering manager* > >> *HotWax Systems*<http://www.hotwaxsystems.com/> > >> *Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, > >> Indore, M.P 452010* > >> *Mobile: 9098461867* > >> -- *Kind Regards,* *Rohit Koushal | Engineering manager* *HotWax Systems* <http://www.hotwaxsystems.com/> *Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore, M.P 452010* *Mobile: 9098461867*
