#mattwiner_tax-calcuation-address
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1308126440318959778
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
Why wouldn't the billing address work for in-store pickup? Or, if the location of the store is what impacts the tax cacluation, could you use the store address as the shipping address?
Hi! The store address will affect the tax calc. Since most US states are destination based tax. So if they are picking up that's the "destinaction". Where, if they ship it home for example, that's the destination.
Yes I certainly can use the store's address as the shipping address. And that's basically what I have. If the customer selects "ship" then it uses their address. If they select "pickup" it uses the stores.
I just wanted to make sure that was the "kosher" way of doing it and I wasn't missing anything. When I look at the logs or the transaction details it says "address_source = shipping". And maybe my OCD is getting to me. I would prefer it to say the source was "pickup_location" or something. But if this is what I have, that's fine, I can work with it.
Yes, given your situation I think that approach is the best one. However, I will also file a feature request to add a pickup_location enum value for address_source parameter https://docs.stripe.com/api/tax/calculations/create#calculate_tax-customer_details-address_source
ok sounds good. We'll keep on this path. Thank you again for your help.
Happy to shed what ๐ก I can ๐