How to get the final status of refund transaction and the receipt of some gateway without order_id

New Member
4 0 0

Hi Shopify App Devs,

I have two questions about transactions.

1. If I create the refund and it's transaction status is pending, how can I get the final status? Using the orders/updated webhook or order_transactions/create webhook or other way?

2. We found the order_id(not the shopify order id) in the receipt of transaction which the gateway of stripe/shopify_payment, but we can't find the order_id with the  paypal/adyen gateway. For example, we found the order_id c20939701977251.1 in transaction 4912744071331(shopify_payments). There is no order_id in transaction 4614831833295(adyen).How can I get the order_id?