#Peter504-emails

1 messages · Page 1 of 1 (latest)

scarlet stone
#

I can help! When you say Checkout, are you referring to Stripe's Checkout feature, or your own custom solution?

gray sparrow
#

stripes checkout feature

scarlet stone
#

Gotcha, you can find the customer's email at customer_email on the Checkout Session object. https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-customer_email

If you wanted to send an email after payment is complete you could listen for the checkout.session.completed webhook event, and then grab the customer_email from the Checkout Session object in the event

gray sparrow
#

Ok thanks, but my website needs to be uploaded to the internet to use webhooks and I still just developing it

scarlet stone