Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Error in refund and capture operations with Payout Split - 'Value in recipients * is different than operation value *.'
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

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback