Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: JasperDX7 on May 13, 2013, 02:33:56 AM



Title: Need help with receiving payments via blockchain.info API
Post by: JasperDX7 on May 13, 2013, 02:33:56 AM
I'm in the process of building a site that accepts payments using PHP as my primary programming language. I've been reading the blockchain.info API and trying to wrap my head around how to accept payments from many people, similarly to how most bitcoin games sites do it (IE. A user gets or generates a BTC address on the site to deposit funds. The address usually lasts for 24 hours). I was originally just gonna generate a new permanent BTC address that would work for the life of the person's account on my site but I feel that may be overkill if the site ends up attracting a lot of people.

Can anyone direct me towards a tutorial or some example PHP code that'll get me started? This page http://blockchain.info/api/api_receive and this page http://blockchain.info/api/blockchain_wallet_api are pretty much what I've been looking at for the past few days but I'm still at a loss as to how to create temporary BTC addresses.

Much thanks!


Title: Re: Need help with receiving payments via blockchain.info API
Post by: JasperDX7 on May 14, 2013, 11:38:08 PM
Anyone? I'd really appreciated some help. Thanks!


Title: Re: Need help with receiving payments via blockchain.info API
Post by: Abdussamad on May 15, 2013, 09:15:23 AM
There is a complete opensource bitcoin library for shopping carts that you can use:

http://bitfreak.info/?page=tools&t=bitsci

Just build on top of that. Be sure to pay back the community by making your work open source!