#repolevedavaj

1 messages ยท Page 1 of 1 (latest)

lunar palmBOT
glad garden
#

No, for your use case it sounds like individual checkout sessions would be the way to go

tame orchid
#

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

glad garden
#

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

glad garden
#

I don't understand what you mean by this

tame orchid
#

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

glad garden
#

Are you talking about something like PR branches etc?

tame orchid
#

yes, or even different test environments/applications

glad garden
#

RIght, ok makes sense

#

I can see the use case here

#

Ok yes

#

You can do this

tame orchid
#

I can specify the customer email though so maybe it could be solved in a similar way

glad garden
#

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

tame orchid
#

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.

glad garden
#

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

tame orchid
#

OK I will check it out ๐Ÿ™‚

#

thanks!

lunar palmBOT
tame orchid
#

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

glad garden
#

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

tame orchid
#

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

glad garden
#

Yep, I'll share the feedback ๐Ÿ™‚

tame orchid
#

nice thanks!

glad garden
#

If you share your account ID i can attach that to the feedback

#

so that if we offer this later we can contact you

tame orchid
#

acct_1NPmYICgcRM27t6M

#

(we are still evaluating through, but I am currently confident, that we will choose stripe)

glad garden
#

I'll add that account there -- and if you have any other integration questions while testing things out, come on back ๐Ÿค˜

tame orchid
#

sure I will, thanks for the support