Solution Deployed
Commerce / B2C Commerce
Apply Funds Core Action assigns Payment Line Invoice to Wrong Payment Record
Summary
Intermittently, when calling the "Async Ensure Funds" core action for multiple Fulfillment Order (FO) records belonging to the same Order Summary record, some payment line invoice records may get assigned to the wrong payment record. This occurs because there is no guarantee of which Fulfillment Order is processed first by Ensure Funds.
Example:
A single Order Summary has 2- Fulfillment Orders (FO) of differing amounts.
FO 1 = $100
FO 2 = $75
When the "Async Ensure Funds" core action is called through Flow for both the FOs, there is no guarantee in which Fullfillment Order will be processed first. In this example, if the Payment response for F2 (&75) returns first, it gets mapped to the largest Payment Line Invoice record (associated to F1). When the Payment response for F1 returns it then maps to F2.
This causes a balance in capture in Payment Line Invoice F1 of $25.
Example:
A single Order Summary has 2- Fulfillment Orders (FO) of differing amounts.
FO 1 = $100
FO 2 = $75
When the "Async Ensure Funds" core action is called through Flow for both the FOs, there is no guarantee in which Fullfillment Order will be processed first. In this example, if the Payment response for F2 (&75) returns first, it gets mapped to the largest Payment Line Invoice record (associated to F1). When the Payment response for F1 returns it then maps to F2.
This causes a balance in capture in Payment Line Invoice F1 of $25.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed with 4 reports
Nov 30, 2026