refundCreate > best practice after 120 days?

Hiya,

According to the Shopify Docs refunds can only likely be done up to 120 days, we’re working on a price promise solution and pre-orders may genuinely go beyond that.

https://help.shopify.com/en/manual/payments/shopify-payments/payouts/refunds#refund-timeframes

However I’ve found now way to determine if an refundCreate request failed because of that.. is there a list of userErrors somewhere that I’m not seeing? Other endpoints offer a userError code but alas it’s not available here.

There’s nothing against the transaction to determine if it’s refundable either, the only field I can see is maximumRefundableV2 but that only applies to “suggestedRefund” types

My aim is that if a refund fails for this particular reason, then to instead supply the user with a Gift Card of equal value. I would have chosen store credit, but it turns out you can’t partially use store credit to an order so that’s no good.

I’ve also of course got no way to test this in practice unless I wait 3 months :woozy_face:

Hey @ceri_waters ,

The orders object has a refundable field that you can include to see if whether the order can be refunded or not.