#wannes_api

1 messages ¡ Page 1 of 1 (latest)

cosmic voidBOT
#

👋 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/1215328427671035924

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

grave sequoiaBOT
cosmic mirage
#

Checkout sessions create payment intents themself

#

You don't need to explicitly create a payment intent if using checout

vapid cave
#

Oh Great. Can I just create a payment for example 20$, without specifying a product?

cosmic mirage
#

Yes

vapid cave
#

Thanks! Does it always create an invoice?

cosmic mirage
#

Not for 1 time payments

#

Unless you specify you want an invoice created

vapid cave
#

Alright, great. Thats exactly what I need. Thank you!

cosmic mirage
#

No problem

vapid cave
#

one more question:

whats the TTL of a checkout session? Because I need to send reminderd and stuff to the customer.

Or it can take several weeks before they pay

cosmic mirage
#

That's also the max

#

You might want payment links instead

#

It's a permanent link

#

Or just send them an invoice

vapid cave
#

can I create a checkout session from a payment intend (which doesn't expire)?

Than I can just redirect them too a session from my platform

cosmic mirage
#

No

#

That's why i recommend payment link or invoice

#

Those won't expire