Refunded Transaction Fees
As per the Shopify payments, Paypal, and Stripe payment gateways. The transaction fees paid on refunds are no longer refunded in the case of a refunded or canceled order. Therefore when a refund is issued the transaction fee is not reduced.