#fagun912
1 messages · Page 1 of 1 (latest)
hello! it's not possible unfortunately
Can we pass Successful Pament Event Id to redirect url as URL parameter alongside email id?
why not use the client_reference_id in the URL parameter?
To prefill the payment link fields? or are you talking about redirect url's parameters?
Is there any documentation on what can be passed as URL parameters for redirect url?
sorry, ignore the mention of client_reference_id
ohk
👋 I guess you can pass any parameter you want in the redirect url, but the real question is how do you distinguish between number of generated Checkout Session. Each PaymentLink will generate multiple Checkout Sessions
I want to pass client email id and event id in the URL parameter for redirect url if the payment is successful
email id would be different per customer, and which event id is. that?
yes, email id is going to be different that is why I want to pass it dynamically to redirect url's url parameter
Event Id of successful payment - checkout.session.completed
anyone there?
Um that's not possbile with PaymentLink. Anything you set on it will be the same for multiple Checkout Session it will generate
You would want to dynamically generate Checkout Session directly and control the information you want to pass in
https://stripe.com/docs/payments/checkout/custom-success-page#modify-the-success-url here you can pass the Checkout Session Id