How To Cancel Order After Payment Done?

Hello,

Do I need to cancel the order and send a refund to the buyer after completing the order? I don’t know how it works. Anyone can explain? I need to set it.

Ex - Buyer buy packed biryani and complete payment. After he asked for a refund for it he needed to cancel it and return the money.

Thank You.