Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Delay to register CancelReason in the order json
Delay to register CancelReason in the order json
ID: 792650
Backlog
Published on 4/18/2023
Last update on 4/18/2023

Summary

Due to the way the order update flow is executed from any status to canceled, it is possible that the Order system takes a while to register the CancelReason in the order json, causing a brief inconsistency scenario if the Json is consulted or used a few seconds after the cancel action;

A practical example is the use of this field in the vtexcommerce-order-cancelled template, because as the save process may take a while it is possible that the email sending will not deliver this data to the end user because the email sending is asynchronous to the cancellation flow;

Simulation

not possible to simulate it. But it can be observed in the timeline of a canceled order, once that the cancellationReason property is used in the store template.

Workaround

In case the failure impacts the get order process, we recommend that a new get be made;

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