#swcooke - Checkout Session

1 messages · Page 1 of 1 (latest)

noble phoenix
#

You will need to retrieve the Checkout Session by its ID and look at its line_items or you can make the call to retrieve the line items directly
https://stripe.com/docs/api/checkout/sessions/retrieve
https://stripe.com/docs/api/checkout/sessions/line_items

#

Unfortunately as you have seen, that info isn't in the original event. So you need to make at least one GET call unless you already stored that info on your side

abstract patio
#

What about the payment_link property. Is that strictly associated with a product? If so, I could store that on my db. Thoughts?

#

That comes in the webhook

noble phoenix