Re: First Draft of Payment Links spec published

On Sat, Oct 8, 2011 at 6:45 PM, Manu Sporny <> wrote:
> I've just published a date-stamped Editors Draft for the Payment Links
> specification:

You can combine this payment spec with the registerProtocolHandler API
[1] in newer browser releases to do something cool.  On your payment
processing site (ex: have some JavaScript code on
the main page:

<script type="text/javascript">
if(navigator && navigator.registerProtocolHandler) {
for Stuff!");

That will pop up a dialog asking if you want to associate
"web+payment" links with your site.  Then, any site on the net can
have links like the following:

<a rel="payment"
Dave $10!</a>

Click on that and your browser will go off to:

The server can parse the URI, pull out the payment link params, and
process the payment.  Nice eh?  Obviously there would need to be some
standards to specify how the "to" part worked and so on but the
browser plumbing is working today in at least recent Chromium builds.



Received on Tuesday, 11 October 2011 18:15:09 UTC