How can we add a cancellation fees on an order from COM during the order cancellation flow?
For some kind of orders, deposit money(%of order total) is charged during capture of the order.
If these orders are cancelled, customer has to pay cancellation fees.
From COM, when an order is cancelled, the Payment Screen opens, where there is a link to Add Modify charges. But order gets cancelled on click of Next on first screen of order cancellation flow.
So when any charges are applied to a cancelled order, the amount does not get reflected in the order total. It remains as zero
Create a DEBIT_MEMO to charge extra amount to the customer. The DEBIT_MEMO is a type of invoice.