#Arnostronaut
1 messages · Page 1 of 1 (latest)
customer_email allows prefilling the email field on CheckoutSession
so it uses that if prefilled, otherwise what is entered by the customer on the Checkout page.
You don't need to touch PaymentIntent.receipt.email if using Checkout but if you pass that, the receipt email will be sent there.
So basically, will you be prefilling email addresses?
No we won't prefill. based on what you are saying the receipt will be sent to the email entered in the email field from the checkout session. so we don't have to do anything else. It is just that in test mode receipt are not sent so we could not know.
thank you for clarifying
yep your understanding is right!