#sebastian-checkout
1 messages · Page 1 of 1 (latest)
Because I want to get the costumer email from the checkout page and send an email to them
so you take the CheckoutSession ID on your success webpage, send it to your backend
your backend retrieves the full CheckoutSession object and gets back details like customer email etc
and your backend sends them the email
the other way to do this is to do it all on your backend, by just listening to checkout.session.completed webhook events
Ok and how do I get the checkout session id on my success page without putting it in the url because I dont want to have it in my url