#konrad_docs

1 messages ยท Page 1 of 1 (latest)

ember oreBOT
#

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

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

queen oasisBOT
white trellis
#

Hi, let me help you with this.

#

No, it's not possible to make it mandatory on Checkout. For your case it's probably better to use the Payment Element as it gives more flexibility.

pearl sedge
#

Is it possible with creating a checkout session programmatically?

#

or payment element is the only option ๐Ÿค” ?

white trellis
#

Ideally, Checkout Sessions should always be created programmatically. So this is not an option, unfortunately.

Yes, I would suggest using Payment Element.

pearl sedge
#

I see you can pass ID of existing customer when creating a checkout session. Can't I just create a customer with filled Tax ID via my website and then create session object and redirect to stripe UI?

#

Actually custom payment form will give me more control over validation and constraints i think...

white trellis
pearl sedge
#

fair point, thank you

white trellis
#

Happy to help.