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

> Re: code sample #749 (comment) -- 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.

Agree. 

> (By the way, is validAddresses calling itself recursively without a termination condition?)

oops! will fix. 

> Re: moving billingAddress to PaymentResponse and/or PaymentRequest, similar to shippingAddress #749 (comment) -- 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.

I'll just leave it as is. 

-- 
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-416745080

Received on Tuesday, 28 August 2018 21:22:33 UTC