#krebedev_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/1316774277617291335
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! well that feature is connected with tax ID collection (https://docs.stripe.com/tax/checkout/tax-ids) , maybe your $shouldCollectVatId is false.
Hi @frank pond
Thanks for your help.
$shouldCollectVatId is true for UK/EU
do you have an example CheckoutSession ID cs_test_xxx where you're seeing this issue occur?
My location is Nigeria, so $shouldCollectVatId will be false.
But my team mate in Sweden doesn't see the box either
https://dashboard.stripe.com/logs/req_TgdfY1DsFDjwin
enabled: "false",
}
no, I can't. Me changing the country dropdown inside Checkout does not impact this. What matters is what you pass when you call the API to create the Session. So if you passed false when creating it, it will never collect a tax ID, it doesn't matter what the customer picks in the page.
Alright. I'll get my team mate in Sweden to send me a checkout session id
He isn't available now. How can I extract the the log ID from his session ID when he sends it to me later?
๐
The easiest way is if they pass you the request ID that will be present in the headers of the request's response.
Otherwise you would need to go look at your logs in the Dashboard. Or, if you pop back in here we can help locate it for you.
Great! I'll get back if I need help
Sounds good!
Thanks!