- From: Marcos Cáceres <notifications@github.com>
- Date: Tue, 26 Jun 2018 12:31:04 -0700
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 26 June 2018 19:31:28 UTC
More examples and work arounds at: https://bugzilla.mozilla.org/show_bug.cgi?id=1447773#c13 But a simple event gets us to: ```JS const payResponse = await request.show(); const response = await fetch("/process-payment/", { body: response.toJSON() }) response.ontimeout = ev => { // can show a progress indicator or whatever... showInPagePaymentProgress(response); }); const result = await response; await response.complete(result) ``` -- 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-request/issues/737#issuecomment-400434937
Received on Tuesday, 26 June 2018 19:31:28 UTC