#Dai-legacy-docs
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Let me take a look
AFAIK if you haven't updated your API version on the account then the docs will take that into consideration while loading references
ok thanks
asking a colleague to be 100% certain, give me a few to re-confirm ๐
ok thx
I'm using the payment element - it dosen;st eeem to be prompting for billing address or email?
I don't think PaymentElement supports billing address or email collection
ah okay my bad, I was thinking about something else ๐คฆ
You're right, it asks automatically if the billing details are required
basically its the billing details
there isn't a way to force it to ask though
right - so I have just rendered a paymenet element, and it jjust shows card details, country and postcode
how does stripe send an email receipt in this case?
for example
You can set receipt_email while creating the PaymentIntent server-side if you already have the email
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-receipt_email
yes, in this case i don;t have the email, its an anonymous checkout
I guess I need to collect it beforehand
I thought the payment elements would grab it for me
yeah sorry, the payment element only collects the information needed by the payment method
๐