#Ludvig-checkout
1 messages · Page 1 of 1 (latest)
👋
@craggy rose as in, the email they enter into the hosted Checkout page itself, you want that to be part of the URL for the success page?
Yes
The customer enters an email (default) on Stripe hosted Checkout and in the return success I want to include the email in the url and then show it on the page
Like a confirmation
got it! That's not really directly possible. You have to read the email from the CheckoutSession object itself
so per https://stripe.com/docs/payments/checkout/custom-success-page you can have your page have the CheckoutSession ID in the URL, then retrieve that in some backend code while rendering the page
it would be customer.email in that code(in the example we use name)