#DOWNTOWN DUNKARONI
1 messages · Page 1 of 1 (latest)
You would want to specify the customer_email parameter when creating the Checkout Session.
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer_email
Right so I pass the customer_email key, but then how do I get the value that the user enters during checkout?
You listen for the checkout.session.succeeded event and examine the Checkout session object that is returned.
https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So, in the case of my screenshot above, that would go at line 52 (after the checkout session is created?)