So, @dlongley gave a good summary of what I was thinking 👍 My code example would run in a normal Window/page (i.e., not in a service worker).
The `window.PaymentManager` is the thing that allows a developer to request the permission and to manage the payment instruments: so, once a developer has permission from the end-user, they can `.add()`, `.remove()` payment instruments.
--
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/webpayments-payment-apps-api/issues/94#issuecomment-284943238