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

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?

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

1 Like

@EddieLuong did you find how to do this?