Menu
Feedback
Start here

Known issues

Known issues
Incorrect refund for purchases with 3 payment methods (one of them being GC)
Payments
ID: 464837
Backlog
Published on3/3/2022
Last updated on11/25/2022
1 min read

Summary

Transactions with 3 payment methods being one of their gift card have incorrect refund amounts. In some cases we have a negative refund which causes the payment to be canceled.

Thread with the discussion

Simulation

The procedure appears to be random, we realized that the negative refund amount is the total amount requested - the payment methods that were correctly refunded - the GC amount. In the case that above: Payment 1(American express): 66,99 BRL Payment 2(Diners): 67,00 BRL Payment 3(GC): 30,99 BRL

Refund requested: 104.99 BRL

Refund on giftcard: 30,99 BRL Refund on American express: 66,99 BRL Refund on Diners: -23,98 BRL

The negative value in the Diners refund is (104,99 - 30,99 - 66,99 - 30,99) = -23,98. What appears to be is that somehow the value of the GC is being discounted twice.

Workaround

There is no workaround for this bug

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback