Hi all, I am trained on
Oracle <g class="gr_ gr_50 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="50" data-gr-id="50">Atg</g>, I have added a new PaymentGroup for our E-commerce site for store-points redemption based on the documentation.
After submitting an order (store points + cash), I could see that the final amount of the store points PaymentGroups is incorrect.
It seems the amount is a cumulative sum of the points amount of previous orders.
When debugging I saw following in PaymentGroupFormHandler.applyPaymentGroups() method, List commerceIdentifierPaymentInfos = container.getAllCommerceIdentifierPaymentInfos();
This list contains the PaymentInfo of the previous order as well. So, the <g class="gr_ gr_21 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" id="21" data-gr-id="21">pgm</g>.recalculatePaymentGroupAmounts(order) gives a cumulative summation of previous points redemptions.
<g class="gr_ gr_22 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" id="22" data-gr-id="22">Still</g> I couldn't find the root cause for this. Any help would be appreciated.
Thanks.
#TMForumGeneral------------------------------
Liana Melissa
MindMajix Technologies Pvt. Ltd.
------------------------------