openid / opentransact

Simple Web Payments with OpenID and OpenTransact

This screencast shows how simple web payments can be using OpenTransact. Instead of making a payment to an email address, we can make a payment to a URL, particularly if it is an OpenID.

The person making the payment simply adds a delicious-style bookmarklet and as you can see below, I simply re-used the javascript code for bookmarking a url on delicious and pointed it to a oscurrency financial service provider hosted on heroku.

javascript:(function(){f = ‘http://high-ocean-79.heroku.com/transacts/new?to=’ + encodeURIComponent(window.location.href);a = function(){if( !window.open(f,’opentransact’, ‘location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550’) ) location.href=f};if( /Firefox/.test(navigator.userAgent) ){setTimeout(a,0)}else{a()}})()

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s