#harvey

1 messages ยท Page 1 of 1 (latest)

old mistBOT
solar bolt
#

Hi ๐Ÿ‘‹ I believe you're looking for the shipping_details.address field on the completed Checkout Sessions:
https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-shipping_details

But please let me know if that doesn't hold the data you're looking for.

wild grotto
#

for me, the field was null

#

i could only get the value if i called the retrieve customer customer api with the customer id

#

i am passing in the shipping address to the checkout session by supplying a customer by the way

solar bolt
#

Oh, so the Checkout Session isn't collecting the shipping address itself? Can you share the ID of an Event where you were expecting to see shipping address details but didn't?

wild grotto
#

evt_1MU9tqBeoaUlCXy88RRcihCT

solar bolt
#

Thank you for that. It looks like as you mentioned the Checkout Session is not collecting the shipping address information, so it is expected to not be included in the session object.

If you would like to pass the shipping address details from your Customer to the Checkout Session when you create it, then you may want to leverage metadata to allow you to include additional information on the session object:
https://stripe.com/docs/api/metadata