#theprophet_75927

1 messages ยท Page 1 of 1 (latest)

mighty pebbleBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

jolly finch
#

Are you seeing this as an API error? If so, can you share a request ID where you're seeing this?

runic heath
#

req_DQg475AgpDl0W4

#

We know that the line2 in this request is not valid, but we would like to receive clear documentation to validate the string before sending it to Stripe

jolly finch
#

I don't believe we have any public docs for this.
As long as it is a valid address, it should pass the validation

runic heath
#

What is considered a valid address then ? ๐Ÿ™‚

#

We are sending the request in async, so we cannot give the Stripe feedback to the user. Or at least, not easily.

jolly finch
#

It depends on the country/location, really.
Some countries do have line2, some don't.

I guess in this context, an address is valid if Stripe can validate it ๐Ÿ˜…

#

Have you looked into using Address element?

#

If you pass the same address to the API (once you collect and validate with address element), I would assume that should pass the validation

runic heath
#

Yes, but we need the address too in our DB too, for other reasons. How can we get the address back from the Address Element ?

#

Mea culpa, just read the doc a bit further

#

Ok, I will look into it