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.

Replies 0 (0)