#Sussu-question
1 messages · Page 1 of 1 (latest)
ok, thank you!
I am trying to add tax to my product, but when looking at the logs, it says that the tax is 0, even though I have stripe tax enabled. I was thinking, could I make a checkout using api? I have never used api before though
How are you creating payments currently if you aren't using the API?
unfortunately I am not the one who set it up, so I do not know
Ah in that case I won't be much help here. You will want to talk to your developer about getting Stripe Tax set up on your account.
stripe tax is on, but it isn't showing for some reason
Can you provide an example PaymentIntent I can look at?
would it be:
pi_3KqfrhJ1AjbS0AbW1JpLfnsF
Yep taking a look
Okay so that PaymentIntent was generated due to a Checkout Session being created, however the Session was never completed so no tax is going to be assessed.
Have you tested with actually completing a Checkout Session?
Oh also that Checkout Session does not have auto tax enabled
no not yet
oh, that is weird that it's not enabled
You have to pass auto_tax.enabled when creating the Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-automatic_tax
But you still won't see any tax until the Session is actually completed.
ahhh, thank you!
do I have to do an actual transaction, or is there a way to test it?
You can do this all in test mode
Using our test cards here: https://stripe.com/docs/testing
thank you!
so i would do this via test mode and adding a new payment?
I'm not sure how to get the checkout in test mode
Yeah you really need to work with your developer on this.
I can't really guide you through how to do this as it requires handling your code to get this set up.
ahh ok, no worries