When a customer requests credit for their return you now have the option to automatically create a discount code for the order amount and email it to the customer.
Custom request credit for their refund
Mark as received when the item is received back at the warehouse.
You are now presented to refund to credit (discount code)
Select the items or quantity to refund
Select credit amount
Popup requests you confirm
Discount code for the value set is automatically created and emailed to your customer
See discounts in the discount area of Shopify Admin
Any questions or to request a demo please don't hesitate to get in touch