Re: [w3c/payment-request] Support requesting billing address (#749)

Thank you, @marcoscaceres!

Re: code sample https://github.com/w3c/payment-request/pull/749#issuecomment-415663572 -- Ideally the merchant would also validate the shipping address in `shippingaddresschange` event and validate the billing address in `paymentmethodchange` event, which happens before the full response is received, so the chance of using `.retry()` would be reduced. (By the way, is `validAddresses` calling itself recursively without a termination condition?)

Re: moving `billingAddress` to `PaymentResponse` and/or `PaymentRequest`, similar to `shippingAddress` https://github.com/w3c/payment-request/pull/749#issuecomment-415664294 -- This would imply that the user agent needs to read the `billingAddress` field from 3rd party payment handler response as well, which is OK, but adds some complexity to keep in mind.

-- 
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/payment-request/pull/749#issuecomment-415802608

Received on Friday, 24 August 2018 15:56:48 UTC