#_code

1 messages ยท Page 1 of 1 (latest)

pearl oracleBOT
#

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

agile geode
#

Hey, I can provide some screenshots if you would like

opal vine
#

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?

agile geode
#

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?

opal vine
#

Do you have the full address available before creating the Checkout Session?

agile geode
#

one second

#

No I don't think I would...

#

Can there be any workaround to show the VAT straight away?

pearl oracleBOT
opal vine
#

I am testing this right now and I am able to see the VAT right away without address...

agile geode
#

huh...

opal vine
#

Oh, it seems like for UK you must provide the postal code to calcualte VAT.
Do you have it?

agile geode
#

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?

opal vine
#

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.

agile geode
#

so tax will only calculate based on the address provided in the details?

opal vine
#

Pre-filling the address doesn't seem possible in Checkout, which in turn make it impossible to show VAT for UK right away.

agile geode
#

okay, that is good enough for me haha

#

thank you for your time

opal vine
#

Happy to help.