#andi_4-checkout-line-items
1 messages · Page 1 of 1 (latest)
Hey there! The associated Price/Product data you want is stored on the line_items field of the Checkout Session: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Unfortunately that field is not included in webhook event payloads
What you'll need to do is retrieve the Checkout Session via the API, and expand the line_items field
Alright so I just add line_items and will find that datapoint on zapier and can choose that as filter.
But what line item? (There are several)
if there are several then you likely are charging for multiple Products in the one CheckoutSession, so you'd need to look at them and figure out which one corresponds to what you're looking for.
for example for each line item you'd probably look at https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items-data-price-product to see what product it is