#sano
1 messages · Page 1 of 1 (latest)
Hi there!
I found some information about this here: https://stripe.com/docs/tax/invoicing/tax-ids#validation
It’s your responsibility to make sure customer information is accurate (including their tax ID). Stripe displays a customer tax ID on an invoice, whether or not it is valid.
Stripe checks the format of the tax ID against the expected format, and asynchronously validates the tax ID against the external tax authority system for the tax ID types below.
Yes, I've read that
now I am trying to find a solution so I can be responsible for the correct VAT
does that mean I cannot use Stripe Checkout then?
So you want to check the VAT on your end before the payment?
You could try to ask for the VAT before creating the Checkout Session.
that is not feasible solution
then I would just ask for full address
most of our customers do not have VAT, so it's not quite nice to ask for VAT and then redirecting to checkout, I hope this makes sense
so the alternative I see is to not use Stripe Checkout, instead use Stripe elements so I can build my own checkout
so the alternative I see is to not use Stripe Checkout, instead use Stripe elements so I can build my own checkout
Yes that's what I was going to suggest
okay so there is absolutely no other way around this
just needed to consult this with someone because it's a lot of dev work and possible hicups
Just to make sure I understand your question: you want to use Checkout Session, collect VAT on the Checkout Session, and check on your end that the VAT is correct before the payment?
yes that would be great
I would love to be able to ensure the VAT is valid before user actually makes the payment. And ideally still using Stripe Checkout and Customer Portal so all billing collection is handled by Stripe
You could create the Checkout Session with capture_method: manual, and only capture the funds once you have confirmed the VAT is valid? https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-capture_method
okay, looks promising, going to check that out. However, is something like this possible with Customer Portal?
Can you clarify how you plan to use the Customer Portal?
a user can enter the Customer Portal, change billing address and then for example change subscription plan
or add seats to existing subscription plan
so user can:
- Open Customer Portal
- Add invalid VAT
- Buy additional seats to subscription plan
Now we need to prevent the purchase
👋 taking over for my colleague. Let me catch up.
hello thanks for the help
just give me a minute or two and I will be right back with you
no rush, just a friendly reminder
you can configure the portal configuration here https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I do not see anything that would help me prevent from people making a purchase with invalid VAT number here
I would love to use Customer Portal so people can change their subscriptions, but I need to prevent them from using invalid VAT, which they can enter in the billing secion of Customer Portal