#llucero-checkout
1 messages · Page 1 of 1 (latest)
Do you have the Checkout Session ID then? (cs_xxx)
Gotcha - and when you're retrieving the checkout session line items, what are you expanding?
session_id=cs_test_a1ALBz4Nz39ssFGKlLwyaiSUgucGy6FJjoznrm8bTxz9JH0RbRn4grJbEj
here is a session ID after a completed payment
i tried to expand data.price.product when i retrieve line_items
What does your expansion code look like?
Are you absolutely sure you're calling the correct version of your code? Looking at the latest retrieve reqeusts for cs_test_a1ALBz4Nz39ssFGKlLwyaiSUgucGy6FJjoznrm8bTxz9JH0RbRn4grJbEj, I don't see any expansion params being passed in
I am not absolutely sure. I may have deployed an incorrect version of the function.
Thank you for your time. I appreciate it.
👍 Yeah as far as I know the code you've shown should work - so definitely make sure that's the exact code that's running and make sure when you look at your requests logs they reflect what you're passing in for expansion
Didn't even occur to me that I had deployed the wrong function. You made my Monday. I've got access to the line_items metadata. I'll be sure to check the request logs in the future. Thanks again!