#alexander_best-practices
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/1244998799739453530
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Here is what I am referring to
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.
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
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.
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
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.