#alex_code

1 messages ยท Page 1 of 1 (latest)

obsidian shellBOT
#

๐Ÿ‘‹ 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/1288589973196640378

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

lost gull
#

๐Ÿ‘‹ Hi there. Do you have an example of a customer that you retrieved that didn't have this information?

atomic verge
#

I do! Is it usefull if I share the customer ID? I have one that does have it and one that doesn't so I can compare/

lost gull
#

Yes, that would be great. A request ID where you fetched that customer would also be fine

potent violetBOT
atomic verge
#

This customer does not have it:

cus_QhLxm1owRB19dV

However, this customer does:

cus_QkpVTOe1zAH2td

I'm not sure why they would be any different

#

They've both successfully completed payments for one of my subscription products

lost gull
#

๐Ÿ‘€

atomic verge
#

Not sure if this helps at all. This is where it shows up for some customers.

lost gull
#

Checkout only collects the minimum address information for calculating tax. For a 'regular' card payment, that's postal code, as you see with cus_QhLxm1owRB19dV. cus_QkpVTOe1zAH2td paid with Apple Pay, and we're getting the full address, so we update the customer's address with the full information.

atomic verge
#

Ok so my question is how does stripe know the province? Like if I look at that customer's invoice, I can see Nova Scotia

#

Is there a way I can access that using the API?

lost gull
#

We're mapping it from the postal code. This isn't exposed in the API.

#

If you want something similar, you would have to build it yourself