#cristian_code

1 messages · Page 1 of 1 (latest)

white coyoteBOT
#

👋 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/1407717930048684044

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

solemn finch
#

I am trying to test these flows on countries with eligibility for tax id to be collected for ex. Germany

devout turret
#

Hi there, investigating this now! Can you send a specific Customer ID or Checkout Session ID so I can see the specifics for this request?

solemn finch
#

cus_StvGatVzqzd07Q

devout turret
#

Note that if you're re-running tests with the same Customer, once the tax ID has been collected it won't be collected again

Caution
Checkout only collects tax IDs on Customers that don’t already have an existing tax ID. If a Customer has one or more tax IDs saved, Checkout doesn’t display the tax ID collection form even if tax ID collection is enabled.

https://docs.stripe.com/tax/checkout/tax-ids?payment-ui=stripe-hosted#supported-types

solemn finch
#

how exactly does the tax ID collection show up in the checkout flow? for instance for that customer Id tax id has never been collected. Is it supposed to come in this form?

#

the exact flow is:

I either fetch existing users through stripeId or create them like this:
stripe.customers.create({ email: user.email });

==>

stripe checkout session with the settings above^

devout turret
#

Got it, so you're saying you've never seen the tax ID collection field, even for new customers? It should show up somewhere in between the address fields and the pay button

solemn finch
#

yes, that's correct.

pure musk
solemn finch
#

Ah it's showing up now!

devout turret
#

Awesome! You might have been re-using a customer that already had a tax ID, so that's something you can double-check going forward

solemn finch
#

coool, I didn't change anything in the code so it might have been as you said, thank you for the help!