Issue Partial Credit

I have an order that was partially shipped. The customer has paid with a credit card. The customer wants to cancel the unshipped portion of the order. I want to issue a credit slip for the unfilled product.

How do I do that in 2.2? I know I can revise the order but that does not accurately reflect the transaction.

Thank You

Go to your payment provider and credit the amount.

Go back into the order and set the price to zero for the item that didn't ship and change the description to indicate it was cancelled.