#smxke__
1 messages · Page 1 of 1 (latest)
Hello, happy to help look in to this, and I assume that you set tax_behavior on each of the products or prices that are in your line items?
const lineItems = products.map((product, index) => ({
price_data: {
currency: "cad",
unit_amount: Math.round(
parseFloat(items[index].price.replace("$", "")) * 100
),
product: product.id,
tax_behavior: "exclusive",
},
quantity: items[index].quantity,
}));
That's how I have my lineItems set up
Interesting. Would you mind creating a Checkout Session and sending me the URL to it?
right now I'm working in a local environment on localhost because I noticed this problem after making the website live
that's the tax with the current code I just provided in a local environment
Checkout links are actually public URLs that don't use your localhost server, so if you send the checkout.stripe.com link I should be able to see it.
Thanks, from your code and screenshot, it looks like you have things configured properly. One possibility here is that our tax engine just doesn't think that there should be tax for that, which would be something to raise to our support team, but I will double check that Checkout Session first.
would that have something to do with the tax settings within the stripe dashboard?
I believe so, I don't see a tax code on the product so it would be using the default tax code from your tax settings
As far as I can tell, you have things configured properly to add tax when our tax engine thinks there should be tax added. I would reccommend talking to our support team https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
If you send them that Checkout Session and give them that address, they should be able to look in to why we are not adding tax there. If you know the specific tax tht you are expecting to apply here, that would be helpful as well