- From: Rouslan Solomakhin <notifications@github.com>
- Date: Wed, 17 Feb 2016 16:54:35 -0800
- To: w3c/webpayments <webpayments@noreply.github.com>
Received on Thursday, 18 February 2016 00:55:26 UTC
> We should consider this in the finer details of the design. The flexibility that the checkout API offers is my preference but we need to consider situations where a call like request('billingAddress') may be made in future in a browser that only supports returning the shipping address. i.e. Versioning Instead of versioning, I would prefer feature detection. For example: ```js if (checkout.supports('billingAddress')) { checkout.request('billingAddress'); } ``` or: ```js if (checkout.requestBillingAddress) { checkout.requestBillingAddress(); } ``` --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webpayments/issues/89#issuecomment-185484061
Received on Thursday, 18 February 2016 00:55:26 UTC