W3C home > Mailing lists > Public > public-payments-wg@w3.org > December 2015

[webpayments] Should a Payment Request API have shipping address APIs? (#39)

From: Manu Sporny <notifications@github.com>
Date: Tue, 15 Dec 2015 21:42:36 -0800
To: w3c/webpayments <webpayments@noreply.github.com>
Message-ID: <w3c/webpayments/issues/39@github.com>
The current paymentRequest API has specific facilities for gathering shipping address information:

http://wicg.github.io/paymentrequest/specs/paymentrequest.html#paymentrequest-interface

```javascript
    readonly attribute ShippingAddress? shippingAddress;
    readonly attribute DOMString? shippingOption;
    attribute EventHandler        onshippingaddresschange;
    attribute EventHandler        onshippingoptionchange;
```

The Web Payments CG's Browser API spec delegates this functionality to the Credential Management API (aka/or Verifiable Claims API).

Should the payment request API have shipping address APIs?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/39
Received on Wednesday, 16 December 2015 05:43:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:43:12 UTC