#_obo_

1 messages · Page 1 of 1 (latest)

mental waspBOT
frozen acorn
#

Hello there

#

Yes you can set this yourself via the Customer's billing_address

#

For US/CA though you need country and postal

#

Or you can set IP on the Customer object as well

vale shore
#

if I set IP on the customer object would that let US / CA infer a country / postal code?

#

or is that only for non US / CA?

frozen acorn
#

Doesn't really work like that... IP is fine for anywhere in terms of calculating tax but we wouldn't provide you with country/postal based on the IP

vale shore
#

I guess more what I'm asking, is if we have a customer who currently is marked as "unrecognized_location" but we have an IP address on file for them via other methods, could we add that to their customer object, and stripe would then start recognizing that and allowing us to charge tax?

#

and would that work if the IP was inside of the USA or Canada?

frozen acorn
#

Yep should work just fine if you update with a valid IP

vale shore
#

got it, that's helpful to know, thank you

#

would there be any harm in adding an IP to all of our customers? Even those that have addresses on file?

#

do things conflict?

frozen acorn
#

There isn't any harm, no. You can see based on the doc above the hierarchy for how location is determined

#

Meaning we would use the address before the IP if it is available

vale shore
#

@frozen acorn do you know what IP dataset stripe uses for location determination here? I just tested this with a user and stripe is saying the user is in oregon, however online tools are saying they're Wisconsin

frozen acorn
vale shore
#

okay, thank you very much

frozen acorn
#

Sure

vale shore
#

for reference, in case you're curious, it seems your data is matching up with MaxMind (a good dataset honestly). So I don't have too many concerns here

#

have a good day