- From: Rouslan Solomakhin <notifications@github.com>
- Date: Wed, 17 Feb 2016 17:26:47 -0800
- To: w3c/webpayments <webpayments@noreply.github.com>
Received on Thursday, 18 February 2016 01:27:27 UTC
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