#yodasgerbil-checkout-tax
1 messages · Page 1 of 1 (latest)
const session = await stripe.checkout.sessions.create({
success_url: 'https://localhost:8888/success',
cancel_url: 'https://example.com/cancel',
payment_method_types: ['card'],
automatic_tax: { enabled: false },
line_items: [
{
price: 'price_1JcWhVIldEPTOPtqBY0v053J',
quantity: 3,
tax_rates: ['txr_1JcCIsIldEPTOPtq1RyS9v96'],
},
],
mode: 'payment',
});
Okay so it usually means you add a tax rate that's inclusive for example and the Price has tax_behavior exclusive
seems to be the case here, your tax rate is not inclusive but the Price has tax_behavior: 'inclusive'
looks like one of the two is misconfigured
ok, so I need to reconfigure in Dashboard
yes!