Menu
Feedback
Start here

Known issues

Known issues
Delay to register CancelReason in the order json
Order Management
ID: 792650
Backlog
Published on4/18/2023
Last updated on4/18/2023
1 min read

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
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