W3C home > Mailing lists > Public > public-payments-wg@w3.org > February 2016

Re: [webpayments] Transition and Adoption (#94)

From: Rouslan Solomakhin <notifications@github.com>
Date: Wed, 17 Feb 2016 17:26:47 -0800
To: w3c/webpayments <webpayments@noreply.github.com>
Message-ID: <w3c/webpayments/issues/94/185497070@github.com>
I would imagine that a custom payment instrument would be a URL, like so:

```js
var supportedInstruments = ["https://thepaymentapp.com/pay"]
```

That URL can host both a payment website at `index.html` and [links to related applications](https://www.w3.org/TR/appmanifest/#application-object-and-its-members) via `manifest.json`. For example:

```json
{
  "related_applications": [
      {
        "platform": "play",
        "url": "https://play.google.com/store/apps/details?id=com.thepaymentapp.app1",
        "id": "com.thepaymentapp.app1"
      }, {
        "platform": "itunes",
        "url": "https://itunes.apple.com/app/thepaymentapp-app1/id123456789",
      }]
 }
```

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/94#issuecomment-185497070
Received on Thursday, 18 February 2016 01:27:27 UTC

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