#roshe10_docs

1 messages ¡ Page 1 of 1 (latest)

little abyssBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1344679542589096039

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

orchid panther
#

What is the error you encountered?

#

Yes, the purpose of the success/cancel URL is for redirecting customers you a page you control after completing or aborting the checkout flow

urban wave
#

I know, but the thing is I don't have my custom page for it, I was thinking whether the stripe has some default success url. I mean something like stripe.com/success

#

I don't remember the exact error, but it was like success_url required or missing

orchid panther
#

Oh, gotcha

#

Yes, thats required for checkout sessions

#

If you're using payment links, those can handle showing a "thank you" screen at the end without redirecting

#

but checkout sessions must provide a url for redirect

#

I can share feedback that you'd like an option to leave the customer on checkout at the end

urban wave
#

yeah. I am using checkout session. That would be great, or if there is some stripe default success url, it's not a problem to provide it to parameters, just if I had one

orchid panther
#

You can enter any URL you like, really, but we suggest using one you control that would make sense for your customers

urban wave
#

I know, that's why I wanted something like stripe.com/thankyou-success to look legit, but still to say to customer that it was successful

#

how payment link is differing from checkiut

#

is there any comparison between the two

orchid panther
#

Payment Links are re-usable links that you can share with multiple customers. When visited, they automatically create checkout sessions for the configure products.

#

Accept a payment or sell subscriptions without building additional standalone websites or applications with Payment Links. Share the link as many times as you want on social media, in emails, or on your website.

urban wave
#

is there any reason why would I need checkout session instead of payment link

orchid panther
#

If the items/prices were different each time for each customer, payment links dont really work

#

if you sell the same item(s) over and over, payment links are likely a good fit

#

Payment Links are also not a great fit for repeat purchases by existing/known customers, since you don't have a chance to specify a customer ID, so again checkout sessions are better there.

#

But if you generally take payent from new customers and don't see them again, payment links are great

urban wave
#

my use case is that I'm collecting donations from different customers, and some of those customers are anonymous some of them existis, but they can pick amount before opening checkout, so in this case you wouldn suggest payment links

orchid panther
#

Yea, in that case you will likely want to use checkout sessions

#

Note that checkout also supports letting the customer choose the amount directly, with optional suggested amounts and limits

urban wave
#

I know but it does not support recurring payment in that case, that's also one of the requirements

orchid panther
#

Ah, true

urban wave
#

anyways, thank you for your support. I will probably end up with custom checkout elements and having it in embedded mode

orchid panther
#

So then yea, you basically have to use checkout sessions and define ad-hoc prices with price_data to set up those recurring custom donation amounts

#

I already filed feedback that you'd like the option to use a hosted confirmation page after payment, instead of redirecting

urban wave
#

thank you

#

do you know how often they pick up those feedbacks

#

I mean is it relalistic to happen somewhat soon

orchid panther
#

its reviewed regularly and feeds into every planning cycle, though we can't build everything so no commitments no, but i hope we can offer it

#

you should proceed as though it will not be an option any time soon, though

urban wave
#

I see, thanks