#ToNy-tax
1 messages · Page 1 of 1 (latest)
Hi @swift lagoon!
Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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.
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
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
@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.
unfortunately our tax engine needs the full address
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?
as far as as I know yes. The address we ask for is the cardholder address( a field on the PaymentMethod ), which is not the same or directly connected to the customer-level address
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)
I'd suggest replying back to the email
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?
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
even for tax?
not sure what you mean unfortunately
is billing_details in PaymentMethod is used for stripe tax?
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
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 🙂
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.
gotcha. Is it possible to collect billing address in payment element?
unfortunately not
I saw something called address element in docs. Is it possible to sign up for a beta?