- From: Dave Longley <notifications@github.com>
- Date: Thu, 05 May 2016 10:57:58 -0700
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
- Cc:
Received on Thursday, 5 May 2016 17:58:31 UTC
We can make `payments` a singleton that hangs off `navigator` like this new API does: https://w3c.github.io/webappsec-credential-management/#interfaces-credential-manager And then add a `createPaymentRequest` factory function to it that returns a `PaymentRequest`. To check for feature detection you look for `payments` on `navigator` -- and if there are other features that we add in the future, you check for them off of `payments`. --- 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/16#issuecomment-217226613
Received on Thursday, 5 May 2016 17:58:31 UTC