- From: Rouslan Solomakhin <notifications@github.com>
- Date: Fri, 01 Dec 2017 12:43:54 -0800
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 1 December 2017 20:44:38 UTC
FYI, @mhahmadi suggests to place the payment handler installer URL in the payment method manifest, which would reduce the number of `Link` headers we're adding to HTTP. This does indeed sound more elegant.
* HTTP Link header already exists:
```
Link </payments/payment-method-manifest.json>; rel="payment-method-manifest"
```
* Add `"default_payment_handler_installer_page"` field to the payment method manifest:
```json
{
"default_payment_handler_installer_page": "/payments/just-in-time-install.html",
"default_applications": ["https://bobpay.xyz/pay/app1.json"],
"supported_origins": ["https://partner1.com", "https://partner2.com"]
}
```
--
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-handler/issues/240#issuecomment-348609556
Received on Friday, 1 December 2017 20:44:38 UTC