Re: [w3c/payment-handler] What happens when clearing site data? (#236)

So yeah, looks like we need to change the API to make this "credential" storage. We should decouple  `PaymentInstruments` from a SW registration, and then link them together somehow... don't know what that would be yet.. like:

```Js
await PaymentInstruments.set("visa1", cardDetails);

const reg = await navigator.serviceWorker.ready;
reg.claimPaymentHandlingStuffNamingIsHard();
```

@rsolomakhin, thoughts? 

-- 
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/236#issuecomment-348092366

Received on Thursday, 30 November 2017 06:12:24 UTC