#cyberteths
1 messages · Page 1 of 1 (latest)
Hi there, will you able to know the country of your customer (and thus the tax rate) before creating the checkout session?
Yes, i will have this information from my database and i can pass that to the api
Great. So you can call this API (https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-line_items-tax_rates) create two tax rates for 10% and 15%
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And specify the approriate tax rate (https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-line_items-tax_rates) when creating a checkout session
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.