#_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/1310572100993421385
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey, I can provide some screenshots if you would like
Hi, let me help you with this.
If you don't have tax registration in other countries than UK, it will calculate 0 tax for those countries.
I need it to show the VAT straight away.
But how would Stripe know if your address is UK?
yes thats what I need it to do. But I want the modal to show the VAT if the customer is registered as a UK customer on my system, without entering their details into the stripe modal, is that possible?
this is what the modal shows (It should show +20% so 594)
as soon as I enter my postcode it does this
is there a way to submit the postcode during session creation in my c# back end?
Do you have the full address available before creating the Checkout Session?
one second
No I don't think I would...
Can there be any workaround to show the VAT straight away?
I am testing this right now and I am able to see the VAT right away without address...
huh...
Oh, it seems like for UK you must provide the postal code to calcualte VAT.
Do you have it?
seemingly the system doesnt record address at all
I just need something to tell my bosses basically ๐
Should I tell them - we can't do this without gathering the address?
No, it doesn't seem like it's possible at all. I was trying to create a Customer with a specific billing address, but it falls back to my browser's default country.
so tax will only calculate based on the address provided in the details?
Pre-filling the address doesn't seem possible in Checkout, which in turn make it impossible to show VAT for UK right away.
Yes
Happy to help.