- From: sabrinatseng <notifications@github.com>
- Date: Fri, 15 Sep 2017 06:39:37 +0000 (UTC)
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 15 September 2017 06:40:05 UTC
Now the payment flow is **show method** -> **paymentResponse**. ` var paymentRequest = new PaymentRequest( methodData, details, options ); paymentRequest.show().then(function(paymentResponse) { paymentResponse.complete('success'); }) ` It should add the paymentRequest show event so the test_pay method can apply. Something like this ` paymentRequest.addEventListener('shown', function(){ test_pay() }) ` -- 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/613#issuecomment-329695652
Received on Friday, 15 September 2017 06:40:05 UTC