#toki_checkout-paymentintent

1 messages ยท Page 1 of 1 (latest)

worn moonBOT
#

๐Ÿ‘‹ 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/1292886991880327259

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

sand agate
#

Hi ๐Ÿ‘‹

Checkout Sessions defer the creation of the Payment Intent ID until the customer fills in their payment method information

wary juniper
#

Hi there! Thank you so much

So just to confirm, the checkout session doesn't need to submit a payment in order for the payment intent ID to be generated?

#

Right now our flow needs the payment intent in order for Stripe Elements (payment method collector) to show up on the front end.

Would we be allowed to attach a payment_intent to a checkout session?

sand agate
#
  1. A checkout session will only generate a Payment Intent when the Customer completes the form
  2. You cannot "attach" a payment intent to a checkout session
  3. Checkout Sessions use their own Stripe-built UI and cannot be used with any other Stripe Element
wary juniper
#

Last question, regarding 3.

Does this mean that this 'Stripe-built' UI cannot be modified, like other Stripe Elements for example using payment intent method? So essentially, we have to rebuild the checkout page with this entirely different Stripe-built checkout element

sand agate
#

IF you are using Stripe checkout, we build/host the payment UI for you.

I recommend you review how Checkout works here: https://docs.stripe.com/payments/checkout

It sounds like you should review how it works and get a clear understanding so you can decide if it will work for your use case

wary juniper
#

Sounds good to me, I appreciate guiding me through this

Thank you so much!

sand agate
wary juniper
#

Ahh okay, I'll take a look at that

Thanks so much again, and that should be it for now ๐Ÿ™

sand agate
#

Happy to help ๐Ÿ™‚