#Markan97-checkout

1 messages · Page 1 of 1 (latest)

hoary hemlock
#

Hello! Can you give me a little more context? When you say a list of items, what are hoping to get? A list of prices? Line items? products?

outer elbow
#

I can't see ur message in thread

hoary hemlock
#

Try refreshing Discord

#

Here's my question again just in case you can't see it: Can you give me a little more context? When you say a list of items, what are hoping to get? A list of prices? Line items? products?

outer elbow
#

Line items, products

#

on paymentIntent object

#

after payment

hoary hemlock
#

And what's your starting point - do you want to see this for a specific Checkout Session or across all of them?

outer elbow
#

all for customer

#

I want list of his payments with line items

#

I want to list everything he bought through checkout. I use it to fetch all the payment intents of that customer, but I don't get back the data of what he bought with that object.

hoary hemlock
#

and yes, for context payment intents don't store the line item data - you need to check the Checkout Session itself instead of the PI

outer elbow
#

Thank you man!