Canceling orders
You can cancel only those orders that are in the Created
status. To cancel
orders, you need the Cancel order - ISF000040
resource permission.
To cancel an order, search for the order and select Cancel order from the Actions menu in the Order summary page. A confirmation pop-up is displayed where you can select the reason for the cancellation and confirm.
The getCommonCodeList
API is called with the CodeType
as
YCD_CANCEL_REASON
to display the cancellation reasons.
The changeOrder
API is called with CANCEL action to cancel the complete
order.
If the order is successfully canceled, the Order summary page is displayed with the updated order status and other details with a success banner. An order cancellation note is also logged against the order with the reason for the order cancellation and the username of the store associate who initiated the order cancellation. If cancellation of the order fails, an appropriate error message is displayed.
Cancellation after partial payment
A customer might want to cancel an order after making a partial payment on the order due to various reasons. In this case, the store associate can cancel the order and specify the cancellation reason.
In the Capture payment page, if you click Close after making a partial payment for the order, a message is displayed to confirm whether to continue to complete the payment or to cancel the order.
On clicking Cancel order, the CommonCodeList
API is
called with CodeType="YCD_CANCEL_REASON"
to get the cancellation reasons.
After a cancellation option is selected, the changeOrder
API is called to cancel
the order and the processOrderPayments
API is called to process the refund and
display the refund summary.
The refund summary is displayed when the order is canceled successfully. The refund summary provides the list of payment methods that were used to pay the order and also lists the payment methods that are used for refund based on the refund configuration. In cases where cash is selected as the refund payment method, store associate must hand over the refund amount specified in the refund summary in cash to the customer.