Perform refund perform on "Captured/Pending Settlement" status
My requirement is to process the refund on the transaction with the status "Captured/Pending Settlement". What is the best way to accomplish this?
As part of our system, we allow the creation of payments for bookings. After the booking details have been changed, the payment amount will be updated accordingly. The payment is made with $200, but the details of the booking are changed after the booking has been completed, and we perform an automatic refund, but the payment still has the status "Captured/Pending Settlement" & this will result in an error message.