#arvindsinghu-payment-links
1 messages ยท Page 1 of 1 (latest)
yup
I believe you can pass some values via the success_url parameter, but please allow me some time to confirm what you can pass there.
sure
Thank you for your patience! I think this is the flow that you're looking for this document explains the flow that you're looking for. Essentially you'll append the checkout session ID to the success_url and then use that to retrieve the associated customer information.
https://stripe.com/docs/payments/checkout/custom-success-page
also, can I pass the promotion to the buy.stripe.com products link it self?
let say i want to pass a promo code directly to the checkout page, can i do using the paramenter?
want to make the things clear, I'm talking about stripe products we add at https://dashboard.stripe.com/products?active=true
Oh, are you using Payment Links?
right
I added the product in the stripe itself
as it's easy for us to manage a lot of things easily
Ah sorry, I should have picked up on that earlier.
so, how can I add the promo in the buy link so that it apply for the users
sorry, I was not clear with my words ๐
Let me dig into that a little bit, I'll also need to see if there is a way to get email as you asked (the previous advice was for Checkout Sessions which are related but a bit different)
I'm still looking into whether you can pass a promo code or discount into a payment link, but out of curiosity, if you want the discount to apply to such a large audience would it make more sense to just create another price for the product?
arvindsinghu-payment-links
Thank you for your patience, currently it's not possible to pass a discount or promo code as a query parameter into a payment link.
Nor is there a way to grab the customer's email address from that flow. If these are features that you'd need then you'd need to look into using a Checkout Session rather than a payment link.