W3C home > Mailing lists > Public > public-payments-wg@w3.org > January 2016

Web Payments Community Group Browser API Polyfill Released

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 27 Jan 2016 21:55:58 -0500
Message-ID: <56A9833E.3040109@digitalbazaar.com>
To: Web Payments Working Group <public-payments-wg@w3.org>
A browser polyfill for the Web Payments Community Group Browser API has
been released and there is a live demo here (feel free to click through
it, starting at step #1):


The polyfill provides a *very rough cut* of the Web Payments Browser API
in most modern browsers, which supports:

 * Registration of payment applications
 * Requesting a payment
 * Acknowledging a payment request

You can read about the API (and peruse the source) here:


The spec for the API can be found here:


This is an experimental preview and it'll change based on
consensus-based decisions made in the Web Payments WG. You will see
developer debug output on each page - this is by design, so that it's
easier to walk developers (and the WG) through the spec and the demo.

Things that we still need to do:

* Add Bitcoin payment application (as well as other payment apps)
* Add many more flow examples
  * https://github.com/w3c/webpayments/wiki/Flows#flows-to-be-analysed

This is a demonstration that the Web Payments CG's Browser API does work
in practice, is polyfill-able (including payment app registration), and
(unlike the Google/Microsoft proposal) can be implemented using simple
messages (plain 'ol Javascript objects) and a non-event,
non-state-machine based interface.

-- manu

Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Web Payments: The Architect, the Sage, and the Moral Voice
Received on Thursday, 28 January 2016 02:56:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:43:13 UTC