get paypal transaction ID from shopify Order API using ordertransaction object (graphql)

ismailalabou
Shopify Partner
34 2 3

based on this reply from the shopify community, paypal transaction ID can be found in the "receiptJson" field data or the "receipt" field data (deprecated field) from ordertransaction object through the order "API".
https://community.shopify.com/c/Shopify-APIs-SDKs/How-do-I-get-paypal-transaction-ID-from-transactio...

Screenshot 2021-08-13 225106.png

if that was the case, i would be very thankful if someone could provide me this receipt data for an order, as long as the order was checked out through PayPal express checkout.

peace out

by the way i'm using "graphql" to query data from the API.

Reply 1 (1)
ameyacharya
Shopify Partner
10 0 1

We're facing the same issue with one of our clients. Is there any way that we can get it? We're facing this issue with Klarna and Paypal