Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Negative amounts in split recipients
Negative amounts in split recipients
ID: 388580
Backlog
Published on 3/3/2022
Last update on 11/25/2022

Summary

In a Marketplace scenario with payout split when the marketplace has no commission on the transaction, rounding off any of the reference values(buyTotal or totalSellers) can result in a negative amount for the marketplace.

We are sending a negative amount to the recipients in the payload of Sending settlement request for the connector. then, we receive the message of a bad request from the connector, informing: Invalid split value, after some hours of sending the request, we receive the callback, the transaction follows the normal flow, so far we haven’t experienced any other behaviors for the transaction

Simulation

Put two identical SKU in the cart that have discounts. To calculate the value of the item individually the system adds up the discounts and then divides them by the total of items, causing a difference between the totalSellers and buyTotal.

Workaround

We don't have a workaround at the moment.

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