Menu
Feedback
Start here

Known issues

Known issues
Event Inconsistency
Payments
ID: 267299
Fixed
Published on6/20/2022
Last updated on5/23/2024
2 min read

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