#ujwal_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1256206626202062949
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
You can use the prefilled_email URL parameter with your Payment Link: https://docs.stripe.com/payment-links/customize#customize-checkout-with-url-parameters
I think there is a confusion. I want to customize the redirection url from stripe to my website. I mean the redirection url should contain the email id the user entered on Stripe payment page
OK, I misunderstood โ my bad. That's not supported today, the only dynamic variable you can add to the success_url is {{CHECKOUT_SESSION_ID}}
If you need the email address on the success page, you'll need to look it up via the cs_xxx ID
How do I add {{CHECKOUT_SESSION_ID}}
Also Please advice how do I get customer details from cs_xxx ID
success_url: 'https://yoursuccess.url?id={{CHECKOUT_SESSION_ID}}
https://docs.corp.stripe.com/payment-links/post-payment#change-confirmation-behavior