Does the user need to know a refund happened when canceling their order an e commerce website

Some context

a cancel order feature on an ecommerce website or app that allows the user to do a last minute cancel order (maybe they accidently checked-out a item they didn't realize was in the cart). NOTE this is not the same as a refund feature. This feature is available only for a couple of hours at the most after the order has been made.

in reality this will notify the warehouse to terminate the order before they start the delivery process. that is before it even leaves the warehouse. however if the user has decided to pay via credit card the amount they will be changed earlier. and tho the feature is known as 'cancel order' a refund would happen, as in the money would be refunded back to the users bank account.

The back-end fix at the warehouse would be to only start charging the user just after the product left the warehouse. But this isn't possible at the moment.

My questions is does the user need to know a refund happened when canceling their order, or would this create additional concern to the user. Do online shoppers normally consider this as a simple UNDO feature or are they used to the complexities that happen?