#fagun912

1 messages · Page 1 of 1 (latest)

tulip cobaltBOT
spark oasis
#

hello! it's not possible unfortunately

normal smelt
#

Can we pass Successful Pament Event Id to redirect url as URL parameter alongside email id?

spark oasis
#

why not use the client_reference_id in the URL parameter?

normal smelt
#

To prefill the payment link fields? or are you talking about redirect url's parameters?

tulip cobaltBOT
normal smelt
#

Is there any documentation on what can be passed as URL parameters for redirect url?

spark oasis
#

sorry, ignore the mention of client_reference_id

normal smelt
#

ohk

ripe ginkgo
#

👋 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

normal smelt
#

I want to pass client email id and event id in the URL parameter for redirect url if the payment is successful

ripe ginkgo
#

email id would be different per customer, and which event id is. that?

normal smelt
#

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?

ripe ginkgo
#

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

normal smelt
#

ok

#

thanks

#

any documentation link on what can we pass as redirect url parameters?

ripe ginkgo