Bitcoin Forum
May 13, 2024, 06:51:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help with receiving payments via blockchain.info API  (Read 1125 times)
JasperDX7 (OP)
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
May 13, 2013, 02:33:56 AM
 #1

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!
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
JasperDX7 (OP)
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
May 14, 2013, 11:38:08 PM
 #2

Anyone? I'd really appreciated some help. Thanks!
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
May 15, 2013, 09:15:23 AM
 #3

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!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!