Error in refund and capture operations with Payout Split - 'Value in recipients * is different than operation value *.'
ID: 698005
Backlog
Published on 8/23/2023
•
Last update on 2/2/2024
Summary
Due to rounding problems when recalculating the recipients of a transaction with Payout Split, either in the capture or in the refund, we receive the following exception from the gateway, since the sum of the recipient's value differs from the transaction value.
Vtex.Practices.ExceptionHandling.ValidationException: Value in recipients (xx.989999999999999999999999988) is different than operation value (xx.99). at Vtex.PaymentGateway.PaymentSplit.RecipientsBuilder.ValidateRecipientsValue(List`1 recipients, Decimal value)...
Simulation
Cannot simulate
Workaround
There is no workaround