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

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

tnaluat
Visitor
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)

EddieLuong
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.

doxy
Shopify Partner
4 0 1

@EddieLuongdid you find how to do this?