I've created a pull request that removes all of the HTTP post stuff from this example, and fixes the remaining code. The reasons for removing the HTTP post related code is both @marcoscaceres' comments above, and also talks I've had with payment providers that indicated to me that this code caused confusion about what was actually required to handle a `paymentrequest` event in a service worker.
@adamroach: Since you wrote the original example code, it would be good if you could take a look at my pull request and stop me if you're not happy with the change.
--
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/82#issuecomment-277206803