Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Event Inconsistency
Event Inconsistency
ID: 267299
Fixed
Published on 6/20/2022
Last update on 5/23/2024

Summary

When the user places an order in checkout, a new order flow is started. From this moment on, the VTEX gateway is consulted when the following order statuses are identified: "Payment pending" and "Verifying invoice". In the "Payment Pending" status, a payment notification is expected to be sent to the Orders module. During this period, some problems with event processing may occur. Although there is not only one root cause directly related to the processing event issue, any other internal or external issue linked to the notification system can cause the order flow to be blocked in "pending payment" status.

The message queue provides an asynchronous communication protocol, in which events are placed in a queue to be consumed at a predetermined time in the future. Thus, we've already mapped some scenarios where there is an inconsistency in this flow to categorize them and solve them one by one.

  • Event loss/not generated;
  • Event stuck and not processed;
  • Processing errors that may cause database inconsistencies.

This KI refers explicitly to the scenarios mentioned above and is not intended to exhaust all possibilities of event processing problems that may occur. New root causes or related issues, such as bad responses from the provider (which happens regularly), can lead to situations where the order is stuck. Each case needs to be investigated individually to determine the root cause of the problem.

Simulation

There's no way to simulate this behavior.

Workaround

Please contact our support team to manually reprocess the event.

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