#jackm_checkout-tax
1 messages · Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jackmullinkosson_api, 4 minutes ago, 27 messages
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1259907751904153631
📝 Have more to share? Add details, code, screenshots, videos, etc. below.
Ok, thanks
@full cloak you don't seem to have configured the tax behavior anywhere?
And really, you should create real Products and Prices instead of price_data if you want proper tax calculation, this would make things much easier. Read https://docs.stripe.com/tax/checkout
I set the tax_behavior: "exclusive", for each line item
you did not.
Creating products and prices would be an unnecessary inconvenience for my use case
I am looking at the request and it's not set properly
You shared a request id, I looked at it and the underlying Checkout Session and that one was not created with tax_behavior
Sorry, here's the correct req id:
req_4HLV6nWQucUDAk
Okay so what's the issue? What do you see when you enter an address on Checkout?
It just shows $0.00
Can you share an exact picture of what you enter so I can help?
Also how did you configure tax on that connected account? Do you have the right Tax Registrations that map to the address and what is being sold?
What is the default tax code? Or did you set one on the Price as required?
Let me try to answer your questions one at a time
Are you suggesting I need to configure taxes on the connected account, not on the master account? In other words the account that is receiving the destination transfer?
Are you suggesting I need to configure taxes on the connected account, not on the master account?
yes, you are using Direct Charges where everything happens on the connected account. There's no "transfer" here. If you think there is one, you are mixing up your Connect flow of funds
payment_intent_data: {
transfer_data: {
destination: body.acct_id,
},
application_fee_amount: fee,
},
there is some transfer happening here, to the destination. While I take an application fee
Ah my bad I misread your API request in our internal tool. So you're right this should be configured in your own Stripe account. So what did you configure on your account? What's your default "product tax code" since you aren't setting any in your request?
I'm not sure - I'm guessing I configure that within the stripe dashboard. I will check.
It's set to General - Electronically Supplied Services
So it seems like I would need to set that to a different tax code since it's for a ticket for an event
yes
Really I recommend creating a Product and Price first. Much much easier to test/iterate.
But I think you want to set https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data-tax_code properly in your code
Ok, thanks for the suggestion
Now that I think about it, general electronically supplied services is most likely the correct cateogry
Then you need to check the tax rules in the registration(s) you configured, it's possible there's no tax for it (or you haven't configured any registrations yet)
What do you mean by the registrations that I've configured?
Ok it looks like everything on that end is set up properly
The issue must be that general elecontrocialy supplied services doens't have any tax
yeah I'm not sure for that part. Try a different tax code first to see if that happens
Do you know of any tax codes that for sure would have a tax?
for testing
This is the new req id, still getting the same issue
req_MkdhRma2fh6oTN
I don't know sorry. I'd recommend moving this to our support team as it's now more understanding tax and not really the code
After trying with multiple tax codes it seems to be a development issue
Not sure what it could be though unless tax just doesn't get calculated in test mode
They do get calculated in Test mode. For example I use <txcd_10103000> locally on my tests
Ok, good to know. Let me try that.
Can I ask you a different question? I’m looking to display custom text on checkout. At the top, above the line items I want to pass the event name. I initially thought that custom_text would be the place but it’s neither shipping address, submit or after subnmit.
There isn't really a way to do that today
Maybe I should set a line_item with a cost of $0?