#.vlad123456
1 messages · Page 1 of 1 (latest)
Hi there, you should be able to get both in checkout.session.completed
Are you retrieving the email address from the payment_method.billing_detatils or customer?
OK, when you get notified about checkout.session.completed, you should retrieve the checkout session with ['payment_intent.payment_method'] expended
and then you can retrieve the billing_details from the payment method object (https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details)
https://stripe.com/docs/api/expanding_objects#expanding_objects tells you how to expand response in details