#StevenS
1 messages · Page 1 of 1 (latest)
👋 Hi there, Happy to help!
What webhook event are you listening to ? could you please share a resulting PaymentIntent Id ?
Hi, sure one sec..
Im listing to the payment_intent.succeeded event
and this is the paymentintent id from one i did just now
pi_3MEVh5A3j56Y3cu00JT4n6PZ
Thanks fr sharing let me check
The shipping address isn't set in the PaymentIntent,
You need to listen to listen to the shippingaddresschange event on the PaymentRequest. You can follow this step for further details
https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-collecting-shipping-info
I do but only to validate the country of the shipping address. So i somehow have to get the shipping address to the webhook, is there any inbuilt way of doing that?
Nope, you need to update the PaymentIntent using APIs
https://stripe.com/docs/api/payment_intents/update#update_payment_intent-shipping
ok thanks