Hello,
Im working on a payment app. I have an issue with payment refund.
The payload that shopify app provides, do not have orderid.
{
"id": "2sl4WR9jF82W0vQVg8fjux9S",
"gid": "gid://shopify/RefundSession/2sl4WR9jF82W0vQVg8fjux9S",
"payment_id": "e6dXWOq7-_NSjXFeCjQ9jsGZ",
"amount": "123.00",
"currency": "CAD",
"test": false,
"merchant_locale": "en",
"proposed_at": "2020-07-13T00:00:00Z"
}
Is there a way to get order details from this. I need order id to initiate refund from portal.
When order is created then we only have a unique payment id reference stored.
is payment_id is same payment reference that is created while creating an order?
How to get order detail based on payment_id?
Please help or point to any guide documentation.
Thanks