#morganbeego
1 messages · Page 1 of 1 (latest)
Hello
Hmm to clarify you want to update your Price dynamically based on this VAT number?
in fact we use a webservice that takes that VAT number entered, and if the country is in the UE, the customer won't have to pay the VAT
Okay well you can collect this tax ID during the Checkout Session via tax_id_collection: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-tax_id_collection
However, that won't allow you to change the Price you charge. If you want to do that, you need to collect this yourself before redirecting to Checkout
ok that's why we use Element
we collect that VAT intracom number and update the price
Gotcha
Like I said, you should just collect the VAT before you redirect your customer to Checkout in this case
ok thank you then but in terms of ergonomy that could be strange
but why not thank you
Yeah I understand, I'm just saying that is the only way to do this with Checkout. Otherwise you need to use Elements and build your own custom flow.
Sure
@queen stirrup one second actually
It is possible that Stripe Tax (automatic tax) will handle this for you as well
yes
Let me check on that
Yep okay we do take that into account: https://stripe.com/docs/tax/zero-tax#reverse-charges
Sorry, forgot about that.
So if you enable tax_id_collection and you use automatic_tax then Checkout will handle all of this for you.
ok then thanks we'll take a look
Yep try testing it out and see if it is what you want