#johnpitchko - checkout expansion
1 messages ยท Page 1 of 1 (latest)
Hi one sec
You're just referring to line_items, right?
That's expandable: 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.
Ah ok thx I see what you are suggesting let me experiment ๐
Ok got what I needed: Stripe::Checkout::Session.retrieve({id: checkout_session_id, expand: ['line_items', 'line_items.data.price.product']})
Thanks so much!
No problem!
10/10 would request support again