- From: majaybabu <notifications@github.com>
- Date: Wed, 04 Apr 2018 01:46:55 +0000 (UTC)
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 4 April 2018 01:47:31 UTC
window.open does not work from paymentrequest event listener below. Is there any way I can pop up a window on ServiceWorker/Payment Handler for user to select a card from a list of cards on indexedDB after 'Pay' button is clicked from the Merchant website. ServiceWorker stored the list of cards on indexedDB during install.
self.addEventListener('paymentrequest', (evt) => {
console.log('paymentrequest evt is ' + evt);
var popup = window.open("", "newWindow", "width=800, height=600");
});
--
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/280
Received on Wednesday, 4 April 2018 01:47:31 UTC