- From: Dave Longley <notifications@github.com>
- Date: Fri, 22 Apr 2016 07:05:41 -0700
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
- Cc:
Received on Friday, 22 April 2016 14:06:16 UTC
I'm fine if we need to pull parts of that message out to pass to the browser API because of Web IDL restrictions, ie:
```js
var paymentRequestMessage = {
acceptablePaymentMethods: [...],
otherThing: ...
};
var pr = new PaymentRequest(
paymentRequestMessage.acceptablePaymentMethods,
{items: ...}, // user-agent only "details"
{...}, // user-agent only "options"
paymentRequestMessage); // passed to Payment App unchanged
```
---
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/browser-payment-api/issues/154#issuecomment-213441582
Received on Friday, 22 April 2016 14:06:16 UTC