A buyer can cancel an order until you mark it dispatched. Once the parcel is On the way, the Cancel order button on their side is gone, because the parcel is already travelling. A cancelled order moves to the Cancelled tab and the stock of whatever they ordered goes back to the product on its own.
What you see
The order disappears from To send and appears under Cancelled, and you get a notification telling you it was cancelled and not to send it. Its order page says This order was cancelled when you open it, or when you reload it if it was already open. Nothing else changes: the order keeps its number, its items and its address, so you can still look it up.
If you had already packed it, unpack it. There is no need to tell the buyer anything; they did the cancelling.
Cancelling from your side
There is no button to cancel an order in the shop console. If you cannot fulfil an order, an item turned out to be damaged, or the buyer asked you in chat to call it off, message the buyer and ask them to cancel from their order page. If they cannot or do not, message us with the order number and we will sort it out.
The reason a seller cannot cancel from the console is the same reason a seller cannot mark their own parcels delivered: the buyer paid, so the buyer says what happens to the order.
Money
While online payments are being set up, no money changes hands on any order, so there is nothing to refund on a cancelled one, and nothing is paid out to you for it.