{"section":"known-issues","requestedLocale":"en","requestedSlug":"transaction-stuck-in-settling-after-capture-fails-due-to-recipientssplitremainvalue-mismatch","locale":"en","slug":"transaction-stuck-in-settling-after-capture-fails-due-to-recipientssplitremainvalue-mismatch","path":"docs/en/known-issues/Payments/transaction-stuck-in-settling-after-capture-fails-due-to-recipientssplitremainvalue-mismatch.md","branch":"main","content":"## Summary\n\n\n**Symptom:** After a partial capture followed by a partial cancellation and a refund, the transaction remains in `settling` on VTEX.\nWhile the gateway may display the charge as “captured/paid” in a consolidated view, on VTEX the `/settlements` endpoint only reflects the partial capture and the refund.\nSubsequent capture attempts fail due to an inconsistency in the calculation of `recipientsSplitRemainValue`.\n\nThe additional data field `recipientsSplitRemainValue` stored for the transaction has a divergent split amount for one or more recipients. This mismatch causes settlement validations to fail and prevents VTEX from completing the remaining capture amount.\n\n\n#### Simulation\n\n\n1. Ensure the account is enabled under the feature flag `can-retain-settlement.jsonnet`.\n2. Create a new transaction in the account.\n3. Perform a **partial capture** of the transaction.\n4. Cancel part of the previously captured amount.\n5. Refund the canceled amount.\n6. Try to capture the remaining amount of the transaction.\n\n\n#### Workaround\n\n\nN/A."}