W3C home > Mailing lists > Public > public-payments-wg@w3.org > September 2017

Web Payments polyfill demo sites and code (was: Re: Just Released: W3C Web Payments Polyfill and Demo (video))

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 6 Sep 2017 18:14:44 -0400
To: public-payments-wg@w3.org
Message-ID: <91286784-583c-f3df-8be4-1192f5c1ba6b@digitalbazaar.com>
On 09/06/2017 04:08 PM, Zach Koch wrote:
> Nice work! This looks great. I'm curious how you did your payment 
> handler polyfill. Looking forward to digging into that.

The implementation details of the payment handler polyfill has been
fully documented here:


The payment handler (and payment request) implementation source code is


Payment mediator is here:


There's some glue code around that we're refactoring, but there is no
server-side code that's required. All the payment handler stuff is pure
client-side JS (IndexDB w/ localStorage fallback) with some cross domain
communication via iframes and JSON RPC.

Dave Longley, our CTO, will be at W3C TPAC and could get into the
details there either as a WG discussion item or as a hallway discussion.

-- manu

Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Rebalancing How the Web is Built
Received on Wednesday, 6 September 2017 22:15:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 September 2017 22:15:11 UTC