#theprophet_75927
1 messages ยท Page 1 of 1 (latest)
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.
- theprophet_75927-account-support, 3 days ago, 3 messages
- theprophet_75927, 4 days ago, 23 messages
- theprophet_75927, 4 days ago, 5 messages
Are you seeing this as an API error? If so, can you share a request ID where you're seeing this?
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
I don't believe we have any public docs for this.
As long as it is a valid address, it should pass the validation
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.
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?
You can validate the address client-side when collecting it from customer
https://stripe.com/docs/elements/address-element/collect-addresses?platform=web#web-validate-address-details
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