Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: genjix on December 04, 2010, 02:03:03 AM



Title: We Need to Decide on an Official Website Payment API
Post by: genjix on December 04, 2010, 02:03:03 AM
Hey,

In the future there will be many different online bitcoin providers holding your money in a virtual wallet.dat online.

Many websites will want to accept bitcoin payments from a 'Tip Jar' button that requires minimal effort to click if you're logged in through OpenID.

The many content providers will need to agree on a method for allowing tipping, together with the online bitcoin services.

----
- Sign up to mybitcoin.com or whatever wallet service using an OpenID.
- Viewing video on dansblog.org. You like that.
- Click Tip Jar first time.
- OpenID sign up screen.
- dansblog.org contacts distributed database (like DNS) to lookup your wallet provider.
- dansblog.org redirects you to https://mybitcoin.com/mywallet.php?send=5&address=dsjsdjksdjksdjdsk23iuweewkc
- mybitcoin.com saves redirect header (who redirected). Displays confirmation page.
- You click OK
- Redirects back to previously viewing webpage.

Now I propose that we all decide on the distributed database part, so that we can start adding in wallet providers and provide an easy way to provide consistent service between many different services.

The returned URL would have an option for the amount to send and the address to send to.

What do you think? It'd be good to write a spec and put it out there. Even if it isn't written yet, there would be a definitive document that we point people to and say 'this is how it's done. comply with the standard.'

dansblog.org and felixsweb.org could both use different databases but they both sync with each other.


Title: Re: We Need to Decide on an Official Website Payment API
Post by: MoonShadow on December 04, 2010, 02:16:17 AM
Hey,

In the future there will be many different online bitcoin providers holding your money in a virtual wallet.dat online.

Many websites will want to accept bitcoin payments from a 'Tip Jar' button that requires minimal effort to click if you're logged in through OpenID.

The many content providers will need to agree on a method for allowing tipping, together with the online bitcoin services.


It might prove helpful, but it's not neccesary that providers agree on an API.  A one click bitcoin button is being worked on that would import a bitcoin address directly into your bitcoin client currently.  If the providers want to have the same functionality, they can develop a plug-in of some kind that simply redirects the user to log-in to their account and import the bitcoin address.


Title: Re: We Need to Decide on an Official Website Payment API
Post by: FreeMoney on December 04, 2010, 03:35:50 AM
Why do we all need to use the same one? Won't people use the same one if one is best? I don't get what there is to do here besides let things take their course.


Title: Re: We Need to Decide on an Official Website Payment API
Post by: Anonymous on December 04, 2010, 04:14:28 AM
It makes things easier to target if there is no redundancy. The best practice will win in the end...well maybe not . Look what happened with betamax and vhs . :)




Title: Re: We Need to Decide on an Official Website Payment API
Post by: genjix on December 04, 2010, 05:26:56 AM
I suppose you're right.