Browser Payments API proposal

I've been working on a way of integrating one-click payments (and signup)
into the browser, and I wanted to put it in front of a few people to get
some feedback.

The API I was playing about with was pretty simple, and is documented here:

http://blog.alexmaccaw.com/preview/MjQxMDcwOTcwNjAYz14YvbdZWrrVg

It's basically an API to autocomplete data, already stored in the browser
and containing things like credit card number and name.

For example:

navigator.requestProfile(['firstName', 'email', 'cardNumber'], function(
profile){ console.log('Your name is:', profile.firstName); /* ... */ });

I've also created a Chrome
extension<https://github.com/maccman/request-profile> demonstrating
the API. I think the key thing to getting adoption for something like this
is to keep it really simple.

Cheers,
Alex

-- 
Alex MacCaw

+12147175129
@maccman

http://alexmaccaw.com

Received on Saturday, 16 June 2012 21:56:53 UTC