Hi there ,
We are developing a POS and I want to refund an order partially based on line item. I have made the payment through credit card and want to refund the line items partially. But i am getting the message
Cannot partially refund a pre-authorization transaction.
To do a partial refund this transaction must be closed out first. Consider doing the full refund and redoing the charge.
How can I refund a line item from the order which is paid by credit card in this case?