-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shipping Address Validation - Suggest Alternate Address #537
Comments
No. You would need to either Both are fairly terrible options, because it will be totally confusing to We might need to add an To get a better understanding of the use case: how are Fedex or UPS (or even the site) able to suggest alternative addresses? Is that via some kind of reverse lookup for malformed addresses? I've seen sites here in Australia use such a system, where they normalize the addresses by using a Google address lookup/autopcomplete service - but just wondering if it's the same thing. |
Yeah, a reverse lookup is what is happening, and the response we get contains alternatives ranked by how close fedex thinks they are to the provided address. |
Noting that both Amazon and eBay provide this service. It's definitely something we will need to consider in a v2 spec (don't let "v2" throw you - we should start modelling this problem sooner rather than later). |
Sounds good to me, thanks for looking into this! |
Is there anything else I can do to help? |
@ktmitton, if the current API design still allows you to deploy your app, then it would be great to see how you overcome this current limitation (screenshots help!). However, if this is a show stopper for you, and you can't use the API because of this, then we would definitely like to hear about that too. |
Hi all, looking back at this...can retry() be used for this use case? |
I'm a little new to the retry function, can you help me understand it a little better? It looks like you can output error messages explaining what's wrong with a shipping address? I think that's something that's a reasonable quick fix for this issue, but my concern is it's still not as smooth a user experience, at least for the way we've traditionally handled this validation. In the case where something like FedEx gives us a suggested address, we present the user with what they selected and what we suggest. Then it's just one click for them to select what they want. If I'm reading retry correctly, it sounds like it would be more steps for them to switch which address they want. I suspect we'd get instances of customers either not bothering to change, or leaving because it's more work. This is definitely an interesting idea I'll see if I can pitch at work. |
Thanks @ktmitton; I've added this topic to our upcoming agenda item about future features. |
No, thank you @ianbjacobs! Sorry I haven't been able to contribute more, I moved more backend since I originally posted this, but I'd love to be able to push this more at work. I think it would simplify things for everybody if we could implement this api. |
This issue was raised in Payment Request, but closed once we removed addresses from that API. We anticipate adding addresses back to the specification and so are re-opening this issue proactively. |
We added addresses back to the specification in the 7 August 2024 CRD |
The scenario I'm trying to address is when a customer enters a shipping address, which fails validation with a shipping service such as FedEx or UPS, but we are able to present the user with a suggested address based on what was provided.
Looking over the API, I only see a way to output an error message to the user explaining that the address was invalid, is there some way we can prompt the user to check whether our alternative address is acceptable to the customer?
The text was updated successfully, but these errors were encountered: