Re: [w3c/payment-handler] PaymentManager behavior unclear (#253)

Setting instruments must happen after registration and is required to become a payment handler. That explains the code structure in the examples. However, we do expect that service workers will occasionally update the instruments in background. For example, suppose you open up `https://my-bank.com` on your laptop and activate a new credit card. Then the service worker on your phone should add this new instrument to the PaymentManager. This would happen in background, without the user having to navigate to `https://my-bank.com` on their phone.

-- 
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/253#issuecomment-373738342

Received on Friday, 16 March 2018 14:55:13 UTC