Bitcoin Forum

Economy => Trading Discussion => Topic started by: phazon307 on February 15, 2014, 06:27:25 AM



Title: How do you accept Bitcoins on a website?
Post by: phazon307 on February 15, 2014, 06:27:25 AM
I am curious as to how you would receive and people can withdraw bitcoins what programming does it require? I know a little JavaScript. For instance like how do gambling sites do it. How do they generate random addresses and how do they have it so people can withdraw bitcoins without you sitting in front of the pc all day and night?


Title: Re: How do you accept Bitcoins on a website?
Post by: grifferz on February 15, 2014, 06:34:01 AM
The bitcoin-qt daemon has a JSON-RPC API which your own code can poke at in order to check for received funds, make transactions, etc.:

https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29

Extremely high volume sites implement their own client, with varying success - see recent malleability issue that caught out some major players.

If you have little to no coding skill, consider using a third party service.

https://en.bitcoin.it/wiki/How_to_accept_Bitcoin,_for_small_businesses
https://en.bitcoin.it/wiki/Category:Shopping_Cart_Interfaces


Title: Re: How do you accept Bitcoins on a website?
Post by: gweedo on February 15, 2014, 06:37:31 AM
If you know just javascript that isn't enough knowledge to do it. You would probably get it to work but you have a very insecure system, and be hacked.


Title: Re: How do you accept Bitcoins on a website?
Post by: gminds on February 15, 2014, 07:20:11 AM
3rd party payment processors allows easy integration with your website. Some processors offers REST APIs, building a custom deployment becomes less complex.