#oscar-paymentintent-billingdetails
1 messages · Page 1 of 1 (latest)
oscar-paymentintent-billingdetails
@ruby leaf after the payment you can look at the PaymentMethod object and its billing_details property for that information: https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details
Thanks. Is there a way to get the payment method object included in the result of confirmPayment (as the field is currently just the payment method ID string), in the same way that the expand field works
Or does it have to be an extra request to get this
you need an extra request on your server for this
Can it be done from Stripe.js client side or is this restricted to server side only?
server-side
Cool, final question, will that billing details field, is it always what the customer enters into the payment element fields that will come through there, or could it come from the card issuer instead
those are what the customer enters, we never get anything back from the issuer about their name or address
That's great, thanks for your help!