#repolevedavaj
1 messages ยท Page 1 of 1 (latest)
No, for your use case it sounds like individual checkout sessions would be the way to go
Dang.. is there any chance that this will be supported in the future?
or to be able to specify that the user should be redirected to the source url
Not that I'm aware of, it's kind of a misuse of the payment links feature to have it be dynamic like that, they're intended to be durable reusable links
Can you explain more?
I don't understand what you mean by this
In the configuration of the pricing table I can configure a redirection url instead of having a confirmation screen. As the redirection URL is something depending of which environment I am coming from, I cannot use this option.
we have multiple dynamic environments during development so the redirection is not usable for us
Are you talking about something like PR branches etc?
yes, or even different test environments/applications
I can specify the customer email though so maybe it could be solved in a similar way
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can use the payment links API to create a new payment link that directs to a given URL
Now thats not pricing table, though
But is ~equivalent
And might be something to use as a stand in
Currently, pricing table can only be configured via the dashboard, not using the API
So you won;t be able to programmatically create this for your use case
I see
What I like about the pricing table is that I don't have to create a UI by myself so its saving a lot of time. Can I do something similar with payment links? Right now I am just creating a checkout session and redirect the user to it.
You can create a similar stand in for the pricing table using a payment link, but not the pricing talbe UI
clicking a payment link is more or less identical to clicking a specific option in a pricing table
Hmm probably using payment links will not give me any benefit compared to checkout sessions, right?
In Checkout sessions I can include the customer already, so its even more powerful
Benefit would be generating once for each env you spin up and the link is reusable
vs creating a checkout session for each test cycle
BUt yes that's up to you and the specific needs here
Yes I see. I will check it out in detail ๐
anyway, is it possible to create a feature request to make this possible through pricing tables?
maybe if enough Stripe users have a similar need
Yep, I'll share the feedback ๐
nice thanks!
If you share your account ID i can attach that to the feedback
so that if we offer this later we can contact you
acct_1NPmYICgcRM27t6M
(we are still evaluating through, but I am currently confident, that we will choose stripe)
I'll add that account there -- and if you have any other integration questions while testing things out, come on back ๐ค
sure I will, thanks for the support