#vadim70
1 messages · Page 1 of 1 (latest)
hi, yes, you can inspect the line_items and expand/retrieve the Price/Products objects, there's a good post on this here : https://dev.to/stripe/purchase-fulfilment-with-checkout-or-wait-what-was-i-paid-for-335d
Looks a bit complicated, can I find python example anywhere of including those additional fileds while creating a session?
not sure what you mean, what additional fields are you referring to?
My bad, I actually provided line_items with price_id of the product, but how I can get this field while receiving session.completed event?
Currently I cannot see these fields in the response that I got (in my dashboard)
you have to call the CheckoutSession Retrieve API and expand:["line_items"]
Got it, any python example for that?
Article has only Node
look at https://stripe.com/docs/payments/checkout/fulfill-orders which has code snippets