Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

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

Linn_Systems
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)