#ToNy-tax

1 messages · Page 1 of 1 (latest)

peak dust
#

Hi @swift lagoon!

swift lagoon
#

Hi!

#

Give me a second

#

req_KDgvCL6q6NSsL4

#

@peak dust

peak dust
#

So it looks like the address saved on the customer is not valid for Stripe Tax. So the simplest option here is to let Checkout use the address entered by the customer on the Checkout page. To do so, you need to pass customer_update.address: auto as explained in the error message.

swift lagoon
#

Got it, but I need to use ip address of the user to specify his billing residence. I don't really want to ask him for his address. It works no problem if I start new subscription.

#

@peak dust

peak dust
#

Hum, not sure. However note that:

We recommend against using only an IP address to determine how much tax to collect. The location associated with an IP address could be some distance from the actual location where your customer is using it.
https://stripe.com/docs/tax/customer-locations#ip-addresses

swift lagoon
#

@peak dust, yes, I'm aware of that, however I'm deciding to use it as determinator since it says that it might be inaccurate, but actually there is no need for me to be accurate at all, since in countries where I offer my services, tax law is unified for every country, so all I basically need is an customer's country.

twilit vessel
#

unfortunately our tax engine needs the full address

swift lagoon
#

okay, that is understandable, but out of curiosity: why ip address option exists?

#

and if I may ask 2 more questions

#

is it intended that checkout asks for billing address even if customer have his billing address already filled?

twilit vessel
swift lagoon
#

and second one, I've emailed asking for orders-beta for account acct_1KLlzUFw0aZxaNH5 I was granted permissions, but I cant access docs even though I'm logged in to docs as account's admin (404)

twilit vessel
#

I'd suggest replying back to the email

swift lagoon
#

Yes I've done that

#

and haven't got any reply since few days

twilit vessel
#

ack

#

I'll ping that person for you then, that's all I can do

swift lagoon
#

thank you!

#

and for subscriptions, how should I ask my customer for address if it is possible to have seperate billing address for every subscription?

twilit vessel
#

the billing address is part of the PaymentMethod (the billing_details field), not the subscription, so it's basically collected when collecting the payment method

swift lagoon
#

even for tax?

twilit vessel
#

not sure what you mean unfortunately

swift lagoon
#

is billing_details in PaymentMethod is used for stripe tax?

twilit vessel
#

not actually sure! re-reading the thread I might have misunderstood. Really the simple answer is you'd jsut use Checkout and it should collect everything needed. But I suppose you do things in a more complicated way since you pass a pre-existing Customer object

#

then I assume the way it works is that we use the customer level address. We do ask for billing_details on the PaymentMethod in Checkout as well, but that's separate, we always ask for that, not really tax-specific

swift lagoon
#

Okay, let me explain my case in detail. We have a business sending subscription physical items. We need to know how much items we need to order from supplier, pack everything and send before 10th day of the month. So at about 1st day of the month, we need to make sure everyone paid, otherwise, cancel their subscription. To achieve that, we need to have billing anchor set to same day for each of our customers, that's why we have following logic implemented (pic.1). This disqualifies us from using checkout (since you can't specify billing anchors). Moreover, we want to use stripe tax. So how we should collect customer's billing address per SUBSCRIPTION not per CUSTOMER? Thank you so much for your patience 🙂

twilit vessel
#

I don't think you can, since AFAIK tax uses the customer-level address

#

do you need the tax to be different for each subscription for some reason? If so, you probably need separate Customer objects and do 1 customer-per-subscription.

swift lagoon
#

gotcha. Is it possible to collect billing address in payment element?

twilit vessel
#

unfortunately not

swift lagoon
#

I saw something called address element in docs. Is it possible to sign up for a beta?

twilit vessel
#

possibly, not familiar with that one

#

we have a lot of betas