Our payment gateway is currently integrated with Shopify using the HPSDK.
In the scenario where there is no successful payment within 30 minutes after the payment session is initiated we trigger webhooks to the Shopify callback_url with the "failed" status value.
We are currently facing the following issue:
As you can see this causes issues for the merchant's order management. Can you suggest how we can handle this scenario where we are unable to determine that the order is successful with another payment method?
Is Shopify using the same value of x_reference for all payment methods? How does Shopify handle multiple webhooks coming from different payment methods for the same order?