Is failed refund quantity taken into account when making new refunds?

Shopify Partner
1 0 1

When a previous refund fails on the payment gateway (transaction failed, so nothing is refunded), and then making a new refund, is the available refund quantity released or still counted as already refunded?


We are getting this error when attempting to retry the refund (after client fixed their gateway issue): 


refund_line_items.quantity: cannot refund more items than were purchased



Quantity of item purchased: 2

Failed refund requested 2 to be refunded (but of course no item was actually refunded).

Subsequent request also request 2 and received above error.

Replies 0 (0)