#sebastien0459

1 messages · Page 1 of 1 (latest)

vast zodiacBOT
pine hatch
#

Can you what does not work? What is the error message?

junior vale
#

Thanks for your response

#

The VAT configuration is well configured on my product but when I realize a payment... the VAT is not applicated

pine hatch
#

Can you share the Invoice ID (in_xxx) in the screenshot and the VAT that you expected to see?

junior vale
#

Yes, the Invoice : in_1ORY36IkuBTPnlgp1LqUiSyl

#

The VAT is 20%

#

Well configured on the product

#

but it doesn't apply when I pay 😦

pine hatch
#

To enable Stripe Tax (automatic tax) on Checkout Session, the price should specify tax_behavior to inclusive or exclusive: https://stripe.com/docs/tax/checkout#product-and-price-setup

However, the https://dashboard.stripe.com/test/prices/price_1ORXzKIkuBTPnlgpMwivmWqZ showed the tax_behavior as unspecified

In addition, Checkout Session wasn't created with automatic_tax.enabled: true in https://dashboard.stripe.com/test/logs/req_5lWFklQnCWFRWt

In summary, there are two problems here:

  1. Tax behavior on the price wasn't set
  2. Checkout Session isn't set to automatic_tax.enabled: true

I'd recommend checking this guide for Stripe Tax on Checkout Session: https://stripe.com/docs/tax/checkout

Learn how to automatically calculate taxes in Checkout.

junior vale
#

Ok thanks, but last question...

#

Where can I set the taxe bahavior on the price ?

pine hatch
#

You should be able to update the tax_behavior in the Dashboard above: https://dashboard.stripe.com/test/prices/price_1ORXzKIkuBTPnlgpMwivmWqZ

Or when you create the Prices in the Dashboard or API, tax_behavior can be set: https://stripe.com/docs/api/prices/create#create_price-tax_behavior

junior vale
#

THanks i will check this !