Author

Topic: Need help with receiving payments via blockchain.info API (Read 1152 times)

legendary
Activity: 3682
Merit: 1580
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!
newbie
Activity: 37
Merit: 0
Anyone? I'd really appreciated some help. Thanks!
newbie
Activity: 37
Merit: 0
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!
Jump to: