#white-rabbit_api
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.
- white-rabbit_api, 6 days ago, 22 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/1255590629677727896
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
You're saying that you want to calculate based on shipping address instead of billing address?
yes, right now it is doing that but when i redirect to the stripe checkout screen there is this tooltip that is still being shown that says 'sales tax calculated based on billing address'
What method are you using to declare that tax should be calculated based on shipping address?
I see that you're charging tax on the shipping costs themselves, which is different from charging tax on the whole sale based on the shipping address. Am I missing something?
I am charging on the total amount, not just the shipping
I enabled automatic tax, so....
๐ stepping in here
Doesn't look like you are collecting shipping address here in the Checkout Session. You'd set shipping_address_collection (https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-shipping_address_collection) if you were to do that and then Auto Tax would use that address for calculation.
I am creating a customer record and passing the id of the customer
and the customer record contains the shipping address
the sales tax is being calculated based on the shipping address and that is all resolved. but the checkout interface displays the right sales tax amount but its the tool tip i dont understand
it is saying 'calculated based on the billing address'