Re: [w3c/webpayments] Letting the payment app decide between HTTP and Javascript communication (#130)

@tommythorsen wrote:
>  Will these payment apps then ignore the POST'ed payment request and use `navigator.payments.getRequest()` instead? I feel that this is very inelegant, and that there isn't that much benefit to be had from doing it this way.

No, they would call `ServiceWorkerContainer.register()`, which would cause the local payment app to be activated whenever an appropriately-scoped POST is called. The local payment app would then handle this POST response in the same way as a remote payment app does.

---
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/issues/130#issuecomment-220328938

Received on Thursday, 19 May 2016 13:48:07 UTC