#NeetCode-Checkout

1 messages · Page 1 of 1 (latest)

hardy birch
#

Hi there, when you create a subscription, you need to sepcify a customer , and the customer has a email property.

tall atlas
#

Yeah, I'm adding the customer to the session, is that enough for them to get an emailed receipt? If so, why is there an explicit field for receipt_email only for payment_intent_data (https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-receipt_email)

tall atlas
#

Any confirmation that this is enough to send the receipt? Thanks.

hardy birch
tall atlas
#

Thanks!