Halo!!
Trying to implement Monero for my shop as an additional payment method on top of fiat (PayPal and VISA).
Customers can place orders for multiple items and pay for all of them only once.
The problem is: let's say one of the items is cancelled after ordering. My system generates a refund tx for the customer automatically. However multiple items could be cancelled in rapid succession but not quite at the same time, let's say 10 minutes apart from each other.
Then the XMR for the first item will be refunded but the subsequent refund tx's will fail to be generated because the funds are locked, as there was only 1 output and it was spent in the first refund tx!
The customer will have to wait 20 minutes, and then another 20 minutes for the next refund, and so on! Imagine if the cart contains 50 items, this is a lot of time waiting for your own money!
How do other XMR shops deal with this?
