#wannes_api
1 messages ¡ Page 1 of 1 (latest)
đ 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.
Checkout sessions create payment intents themself
You don't need to explicitly create a payment intent if using checout
Oh Great. Can I just create a payment for example 20$, without specifying a product?
Yes
Thanks! Does it always create an invoice?
Alright, great. Thats exactly what I need. Thank you!
No problem
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
Default is 24 hours: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-expires_at
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That's also the max
You might want payment links instead
It's a permanent link
Or just send them an invoice
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