#krebedev_code

1 messages ยท Page 1 of 1 (latest)

trim krakenBOT
#

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

frank pond
shrewd bone
#

Hi @frank pond
Thanks for your help.
$shouldCollectVatId is true for UK/EU

frank pond
#

do you have an example CheckoutSession ID cs_test_xxx where you're seeing this issue occur?

trim krakenBOT
shrewd bone
#

My location is Nigeria, so $shouldCollectVatId will be false.
But my team mate in Sweden doesn't see the box either

frank pond
frank pond
# shrewd bone You can change the country to one in EU

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.

shrewd bone
#

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?

lilac lantern
#

๐Ÿ‘‹

#

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.

shrewd bone
#

Great! I'll get back if I need help

lilac lantern
#

Sounds good!

shrewd bone
#

Thanks!