#street-prb-billingdetails

1 messages · Page 1 of 1 (latest)

wild fractalBOT
pine wing
#

Hi 👋

How are you collecting the customer's name & email? The Payment Element does not necessarily do this automatically.

wild fractalBOT
wind timber
#

Sorry, I meant the PaymentRequestButtonElement, we have enabled the requestPayerEmail / requestPayerName properties to collect.

#

(However, we are also collecting it manually when the customer Payment Element - let us know if it's actually possible that Stripe can send us this information as well in the /confirm route)

pine wing
#

Okay do you have an example Payment Intent ID I can check?

wind timber
#

this for example: pi_3N30KAFfzadd3IOM0NXxp40K

pine wing
#

This information is stored on the Payment Method in the billing_details. You will need to retrieve it from the server-side after the payment intent confirms successfully

misty fern
#

street-prb-billingdetails

wind timber
#

ok, got that, but is there anyway Stripe can include before we get to the server-side, along with payload that is sent with the /confirm route?

pine wing
#

This will return an object that includes the billing details provided by the customer

wind timber
#

ahh okay! that will work I think

#

but this would only be possible in the PRBE and not the PE right?

#

actually that does not matter, you've answered my question! Thanks, that helped a lot.