Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Nominal Taxes + Gift Promotions on the same item might generate checkout errors
Nominal Taxes + Gift Promotions on the same item might generate checkout errors
ID: 1089066
Backlog
Published on 8/29/2024
Last update on 9/4/2024

Summary

Currently, when configuring a nominal tax along with gift promotions on the same item, the promotions module, when communicating with the checkout application, might generate a different rounding of the tax value

Simulation

The simulation of this type of issue is extremely specific and hard to replicate. It requires a set of gift promotions applying over the same item and a nominal tax.

Although it might be difficult to reproduce the behavior, the steps would be as follows:

1 - Create a nominal tax for a specific SKU, preferably with an odd number (such as 4.99), even numbers might not face this problem. 2 - Create a gift promotion for this SKU 3 - Add an even number of skus to the cart 4 - attempt to close the order, an error display might be shown and the order won't be closed. You can be certain this is the issue if, by changing the amount of items in the order, the problem subsides.

Note: this happens for very specific combinations of (amount of items in cart) + (tax values) + (gift promotions).

Workaround

Either use a percentual tax instead, other types of promotions aside from gifts

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