[Payment apps] How do we relate the payment with the checkout session or the order

1 0 0

I'm building a Payment app (Payment gateway) and according to the documentation when initiating a payment flow a payload is sent to your endpoints ( link to payload https://shopify.dev/apps/payments/processing-a-payment), but looking at the fields and the description for the fields I don't see any relation to a checkout session or the order so I can fetch what is being paid for (i.e items). Is there a way I can fetch the items the user is buying when initiating the payment?

Replies 2 (2)

Shopify Partner
39 1 21

I have the same problem. See there's at least 3 similar posts on the forum but there's no any support.

Shopify Partner
3 0 0

@EddieLuongdid you find how to do this?