#alexander_best-practices

1 messages ยท Page 1 of 1 (latest)

odd auroraBOT
#

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

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

spare cedar
#

Here is what I am referring to

summer wharf
#

Hi there ๐Ÿ‘‹ Checkout Sessions will do verification to ensure a properly formatted value is provided there, but validation is not readily available:
https://docs.stripe.com/tax/checkout/tax-ids#validation
We'll try to do some asynchronous validations where available, as mentioned in that section of our docs, but ultimately it's your responsibility to validate the provided details.

Learn how to collect VAT and other customer tax IDs with Checkout.

spare cedar
#

I've seen this answer before, like a year ago, I was hoping some way of hooking into the Stripe Checkout could be created

#

If it's my responsibility to check the number, than I cannot use Stripe Checkout to collect address, that's a bit odd response

summer wharf
#

That's not yet available, there currently isn't a way to hook into Checkout Session. It's being built though, currently under the name of Custom Checkout. You can take a look at the rough overview of the flows here:
https://docs.stripe.com/checkout/custom-checkout/overview
If it seems like something you're interested in, then you can reach out to see if you can get access to the beta via the the note at the top of those pages.

Learn how to use Elements with Custom Checkout to build a checkout page.

spare cedar
#

Interesting, this helps to use the Adress & Payment elements easier? I am not sure if I understand what the custom checkout enables that wasn't possible before

summer wharf
#

It lets you have hooks in checkout for one, I think (betas aren't something we specialize in within this forum). It gives you Checkout Session level prebuilt functionality, with Element level insight/control during the process.

spare cedar
#

Looks promising though, I am going to try it out

#

thank you, have a great day