#daniel-klungo_code
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/1294280442564050989
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
you mean require a tax ID? you can use this parameter: https://docs.stripe.com/api/checkout/sessions/create?lang=node#create_checkout_session-tax_id_collection
ooh, yes! didn't know it had extra params. will try it out!
any way to see when that option was added? it's not being autocompleted for me locally, so I might be too far behind?
which SDK and version are you using?
2022-08-01, nodejs
it was added in this version: https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#16110---2024-09-12
so you would need to upgrade to version 16.11.0 at least
roger! and I guess I need to upgrade the API version too?
strange that the change isn't listed here though https://docs.stripe.com/upgrades#2024-09-30.acacia
The node sdk should use the latest api version at the time of its release
Unless you manually pass it in the code
No problem