[w3c/browser-payment-api] notifying the payment app when a payment is complete (#286)

The current complete() method does not (seem to) provide a channel through which the Payment App could be notified of the status of the transaction.  We envision a Payment App that is part of a user's overall payments / transaction management system, and it would be good if that App could know that a request was accepted by the merchant and keep track of it.

I expect that the best way to do this would be by raising an event (paymentAccepted?) that a Payment App could listen for.

If people are open to this, I am happy to draft a PR.

-- 
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/browser-payment-api/issues/286

Received on Friday, 23 September 2016 07:29:28 UTC