Re: [w3c/browser-payment-api] Shipping Address Validation - Suggest Alternate Address (#537)

No. You would need to either `.abort()`, or `.complete()` but then show them an option to ship to a different address. 

Both are fairly terrible options, because it will be totally confusing to `.complete()` but then for the user to be asked to select a different address (and possibly incur additional charges). Or, in the case of `.abort()`, annoying to the user that they now have to enter their credit card details manually.

We might need to add an `alternativeAddresses` member to `PaymentDetailsUpdate` in V2. 

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](https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform) - but just wondering if it's the same thing. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/browser-payment-api/issues/537#issuecomment-304562882

Received on Monday, 29 May 2017 03:03:38 UTC