#jaehyuk5
1 messages · Page 1 of 1 (latest)
Could you elaborate which Doc you are following? What dynamic tax rate you are passing in?
https://stripe.com/docs/billing/taxes/collect-taxes?tax-calculation=tax-rates for the details explanation I believe
oh thanks.
If you have a Customer, with a shipping address or billing address already collected, you can pass its Id into the CheckoutSession creation call, then it would try to match the tax rates defined here (You can test all this out)
We're selling digital contents (like movie / video file) and check their country code.
so basically if I get customer's country info - just pass them on stripe checkout seesion. is it right?
and does it possible in prebuilt checkout session too?
No, I mean set it in your Customer object first, via a Create Customer API, here https://stripe.com/docs/api/customers/create#create_customer-shipping-address-country
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
then call Create CheckoutSession with its Customer Id: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ah. so
-
first. create customer adress-country must have been created
-
then stripe checkout can be used
-
and checkout session using customer information form - customer address-country section.
ok now i get it.
and there's one more thing to ask.
Is tax jurisdiction is basically setting by default? or do I have to add each country's vat , GST , etc
I think it's optional