#zerosodium
1 messages · Page 1 of 1 (latest)
What are you planning on using to calculate tax? Were you planning on using Stripe Tax? Or are you just trying to figure out your options?
Figuring out the options for now! Would appreciate your insight 🙂
I think part of this will depend on how you plan on charging your customer down the line and whether you plan on using Stripe Tax vs manual tax rates
If you want to use Invoices, then what you could do is use the Upcoming Invoice API to show your customer a "preview" of what they're going to pay for down the line. and you'd either use that with Stripe Tax (https://stripe.com/docs/tax/invoicing) or with manual tax rates (https://stripe.com/docs/billing/taxes/tax-rates)
You could even just create + finalize the Invoice ahead of time so you have it ready and then charge it when you want
Alternatively you could look into using the Stripe Tax API (https://stripe.com/docs/tax/custom) which would let you calculate the tax and then apply that to a Payment Intent
thank you. stripe tax is amazing ❤️
might be back with q's - if you could leave the thread open for another 30min that'd be great :)*
sure!
hi @warm crest
running a test on my server using the following
const calculation = await stripe.tax.calculations.create({
currency: "usd",
line_items: [
{
amount: cost,
reference: "bid",
},
],
customer_details: {
address: {
postal_code: "10002",
country: "US",
},
address_source: "billing",
},
});
for whatever reason the response is giving me a tax amount of 0, even when I change the postal address. why is this?
Can you share your account id so that I can take a closer look at how your Stripe Tax is setup? You can find your account id by logging in to https://dashboard.stripe.com/settings/account. It'll be in the upper right hand corner and looks like acct_123
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
acct_1N9wPTCWZlYQwGKD
this is likely to take some time, i'll get back to you in a bit
so you would want to do your tax registration too : https://dashboard.stripe.com/test/tax/registrations
which isn't done yet