{"section":"troubleshooting","requestedLocale":"en","requestedSlug":"my-store-order-was-canceled","locale":"en","slug":"my-store-order-was-canceled","path":"docs/en/troubleshooting/orders-and-fulfillment/my-store-order-was-canceled.md","branch":"main","content":"An order can be canceled at any stage before completing the expected flow. To identify the reason for cancellation, all communications between payment integrations must be checked. This is because, for a purchase to be invoiced, it goes through several stages that can lead to cancellation.\n\nSmart Checkout supports the \"Pre-Auth\" feature from some acquirers. So the platform validates card data during checkout. If there's a problem, the user is notified to change their payment method, preventing the merchant to lose the sale.\n\nIn this process, an order is created, but if the operator denies, this transaction is automatically canceled.\n\n## Solution\n\nTo identify the reason for the cancellation, you need to:\n\n- [Check payment interactions](#checking-payment-interactions)\n- [Check order interactions](#checking-order-interactions)\n\n### Checking payment interactions\n\nIn the VTEX Admin, under **Orders > Transactions**, all payment interactions are recorded with the payment operator/gateway and with the anti-fraud solution, which are responsible for most cancellations.\n\nWhen a cancellation occurs, a message is recorded in the order transaction events identifying the reason. To learn how to view these events, see [Viewing the order's details in Orders](/en/tutorial/como-visualizar-detalhes-do-pedido/).\n\n### Checking order interactions\n\nIn the **Orders** module of the VTEX Admin, you can find the source of the order cancellation — whether it was done by the marketplace or the merchant.\n\nTo view the interactions of an order, follow the steps below:\n\n1. In the VTEX Admin, go to **Orders > All Orders**, or type **All Orders** in the search bar at the top of the page.\n2. Search for the order using the search bar and filters available in **All Orders**.\n3. Click the order you want by going to the [Order details page](/en/docs/tutorials/order-details-page).\n4. In the **Order History** section, click `View Interactions`.\n\n#### Cancellation by the marketplace\n\nIf the cancellation was made by the marketplace, it can be detected in the interactions by the key used in the cancellation request (`Cancel requested`), as in the following example: `vtexappkey-nomedomarketplace-keydomktp`.\n\nWhen an order isn't canceled by the marketplace, the name of the user who made the action `Cancel requested` or the VTEX integration key (`Cancel requested by vtexappkey-appvtex`) will be displayed.\n\n#### Cancellation by the store\n\nIn the **Orders** module of the VTEX Admin, orders can be canceled manually or via a cancellation request sent by the ERP.\n\nAdditionally, the customer can request the order cancellation to the merchant while it's in the status `Cancellation window`. In this case, the order first has the `Cancellation requested` status, and after approval, the status changes to `Canceled`.\n\nAll order changes can be viewed on the [Order details page](/en/docs/tutorials/order-details-page).\n\n> ⚠️  For orders originating from a marketplace but canceled by the store, the integration doesn't automatically notify the marketplace about the cancellation. In these cases, **you must manually cancel the order directly in the marketplace interface**."}