#zerosodium

1 messages · Page 1 of 1 (latest)

rare masonBOT
twin agate
#

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?

digital quest
#

Figuring out the options for now! Would appreciate your insight 🙂

twin agate
#

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

#

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

rare masonBOT
digital quest
#

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 :)*

warm crest
#

sure!

digital quest
#

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?

warm crest
warm crest
#

this is likely to take some time, i'll get back to you in a bit

#

which isn't done yet