The grace period for order cancellation is the time window in which the order can be automatically canceled by the client. It starts at the payment approval and ends after the time determined by the store.
That is, if the customer requests cancellation before or during the grace period for cancellation, the order is canceled without the store having to approve the cancellation.
If the customer requests cancellation after the grace period has ended, the store receives the request, but cancellation is only made if the store approves it at the Orders management.
By default, the grace period for order cancellation is set to 30 minutes, but you can change it to better meet your business' demands.
For example, if your store sells food or pharmaceuticals that need to be delivered in a short time, it probably makes sense to have a lower cancellation tolerance.
To configure this time window, follow the steps below:
- In the VTEX Admin, go to Store Settings > Orders > Settings, or type Orders in the search bar at the top of the page and select Store Settings / Orders.
- On the General tab, on the Orders section, set the grace period in minutes in the field
Cancellation grace period
. - Click
Save
.