One of our customers has reported that refunds were not made available in real-time in our application for some of their orders. While investigating we found that no orders/updated webhook triggered when a refund is created for orders managed via a thirdparty application. Interestingly the RefundAgreement is available on the order when querying the GraphQL API. Note that for this particular order the DisplayFinancialStatus is set as PAID instead of REFUNDED or PARTIALLY_REFUNDED which is odd.
Has anyone encountered this issue before and could share how they solved it? Currently we have to manually import the refunds to fix the issue which is incredibly hard to manage when you have to do it for a large number of customers.
Hi Mathieu,
Have you been in touch with the devs of the thirdparty application which is managing orders where refunds webhooks are not appearing to you. There could be a configuration on their side which is changing how webhooks are being triggered.
@Liam-Shopify thanks for responding. The Shopify developer team has investigated and this was indeed an issue between the thirdparty app and Shopify on how these orders were created. Essentially also the order is marked as paid no transaction is being pushed to the order so the refund is not considered as an actual refund hence no webhook is triggered for it. The only way for our application to stay up to date with those updates is to poll at regular intervals until this is resolved. I will close this thread now.
Hi Mathieu,
Glad to hear our support team were able to help you with this!