You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refunding an order response: "Arbitrary refund not allowed" #1232
We are refunding an order but the item being refunded has return shipping cost (a variable we use on our side), so we are subtracting that from the amount.
This is failing on a productive shop, but if we use test mode or bogus payment method the error wont appear and the refund will be created.
In the tests environments the refund is created with an order_adjustment. In the other hand when we try refunding in productive shops neither the refund nor the order_adjustment are created.
Hey @brannbot yes, we faced this issue with a plus merchant. It's weird if they're trying to do a full refund, that should'nt happen. If you execute the calculate that will return the amount to be refunded, and then when sneding the refund you could modify that. Not sure if I'm helping you. Maybe your best option is to contact Shopify Support for that plus merchant.
Activity
fjbotto commentedon Oct 20, 2023
Closing this issue as with Shopify support we detected that the original order was created from Facebook.
fjbotto commentedon Nov 9, 2023
Hey @brannbot yes, we faced this issue with a plus merchant. It's weird if they're trying to do a full refund, that should'nt happen. If you execute the calculate that will return the amount to be refunded, and then when sneding the refund you could modify that. Not sure if I'm helping you. Maybe your best option is to contact Shopify Support for that plus merchant.