#Vish
1 messages · Page 1 of 1 (latest)
Hi there!
I can also provide the payment intent id of the payment I am talking about
Here is the payment id: pi_3MtKzNH0JhcPW9fR1y28G3JF
Hi @mortal sail
However, in charge.customer.address, I only get 02025, US
Thanks! Give me a few minutes to look into this.
And I recommend deleting the customer address, since this is a public chat
Sure
Hi! I'm taking over my colleague. Please, give me a moment to catch up.
How are you collecting the Address?
Right now using charge.customer.address
What do you mean?
I am asking more of where in your integration the Customer enters their address information?
The shipping address is stored on your Checkout Session object.
Can I also not get it through charge.shipping.address?
You will get a checkout.session.completed event that contains shipping_details property, where you can find your address: https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
That's billing address.
charge.shipping.address is the billing address?
Sorry, my bad. But I'm not sure if this property is used for Checkout
Can you please check if I can rely on this: charge.shipping.address? I will have to make some considerable changes if I want to implement checkout.session.completed. Thanks
Just checked, yes that's the same Address object, so you can use that.
Awesome thanks