#angel-payment-tax

1 messages · Page 1 of 1 (latest)

celest wadiBOT
fathom spoke
#

angel-payment-tax

#

@drifting dock there isn't really a way to do this today. PaymentIntent would have the total amount inclusive of tax that you calculated but there's no direct "link" between the two

#

You also mention Checkout Session in your code so I'm also quite confused by the question as Checkout doesn't work with the Tax Calculations API, it does tax calculation automatically for you already

celest wadiBOT
drifting dock
#

oh ok so how do I automate tax then? while testing, It doesn't calculate taxes for me at checkout

fading sundial
#

Using Checkout Sessions?

drifting dock
#

yes

fading sundial
#

Can you share an example session ID?

#

You sample snippet above does not appear to set automatic_tax[enabled]=true so you should add that, in addition to ensuring you've registered for the relevant jurisdiction

drifting dock
#

got it ok ill try that then

#

thank you

fading sundial
#

over here

drifting dock
#

oh ok sorry

fading sundial
#

np

drifting dock
#

so i automated it now but it seems to just calculate 0$ for what ever address is inputed

fading sundial
#

Can you complete the checkout payment and share the session ID here?

drifting dock
#

sure let me complete it

#

pi_3NW2MNGkTeCltKPP0Ci79dUD

fading sundial
#

Have you set up tag registrations for those locations, and set up tax behaviour for the products youre using?

#

taking a look

drifting dock
#

no i have not

#

how would I do that?

fading sundial
#

You need to set those up for tax to be calculated for a given customer location

drifting dock
#

oh ok got it .

fading sundial
drifting dock
#

Its telling me General - Electronically Supplied Services is 0% tax rate for California but I'm selling products not services

#

sorry nvm

#

thanks for the help

fading sundial
#

NP, all set now?

drifting dock
#

yes thank you