Bitcoin Forum

Bitcoin => Project Development => Topic started by: Lexiko on January 21, 2012, 01:08:10 AM



Title: Free source code and live demo, how to accept btc on your site
Post by: Lexiko on January 21, 2012, 01:08:10 AM
Hi all!
I wrote sample universal script, how you can easily accept Bitcoin payments in your service.
I tried to make it simple and understandable, so with a minimal processing it can be used at the production site.
Main purpose - replenish any balance by Bitcoins.

It is written in php and using the modified  bitcoin-php (https://github.com/mikegogulski/bitcoin-php) library,
Source code is totally free and available on GitHub (https://github.com/Lexiks/Bitpay)
Bitcoind is hosted on free  Amazon AWS (http://aws.amazon.com/free/) cloud).
Live demo: here (http://bitpay.tk/index.php?lang=en) (you can test all what you want there)
Description: here (http://bitpay.tk/index.php?action=about&lang=en)

Some screenshots:

http://img600.imageshack.us/img600/9387/bitpayen.png (http://img687.imageshack.us/img687/9387/bitpayen.png)
http://img600.imageshack.us/img600/5748/accountst.th.png (http://img600.imageshack.us/img600/5748/accountst.png)
http://img832.imageshack.us/img832/7708/loginmd.th.png (http://img832.imageshack.us/img832/7708/loginmd.png)
http://img443.imageshack.us/img443/1373/bitcoinden.th.png (http://img443.imageshack.us/i/bitcoinden.png/)

Sources are distributed under free license, anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
Any suggestions, bugreports and omissions are accepted. You can contact me any way (http://bitpay.tk/index.php?action=contact).

Also it would be great if someone audit the code and point to the weaknesses and errors that can lead to problems in production.

* Do not berate me for this translations. English is not my native language, so I did it as I can. :) In Russian it sounds better.


Title: Re: Free source code and live demo, how to accept btc on your site
Post by: finway on January 21, 2012, 01:14:04 AM
Thank you for your contribution.


Title: Re: Free source code and live demo, how to accept btc on your site
Post by: Fking on October 30, 2012, 02:13:25 PM
Very useful and nice from you, thank you!


Title: Re: Free source code and live demo, how to accept btc on your site
Post by: Mushroomized on November 05, 2012, 05:44:13 PM
Very nice, Ill have this bookmarked.  ;)


Title: Re: Free source code and live demo, how to accept btc on your site
Post by: caffeinewriter on November 09, 2012, 06:29:43 AM
This is such a smooth looking, easy rolling site. I will possibly be using this in the future! Thank you my friend!


Title: Re: Free source code and live demo, how to accept btc on your site
Post by: TheRandomGuy on November 14, 2012, 05:05:53 PM
Wow. This is really cool. Deff using this for my music site.


Title: Re: Free source code and live demo, how to accept btc on your site
Post by: Rubix on November 15, 2012, 10:00:11 AM
Thanks for sharing.

Looking through the code now.

If I end up using this as a base on any projects i'll shoot a donation your way.


Title: Re: Free source code and live demo, how to accept btc on your site
Post by: marcus_of_augustus on November 16, 2012, 01:24:35 AM
What's the security (i.e. wallet/key management) like for this package?

It seems like it could be really useful.


Title: Re: Free source code and live demo, how to accept btc on your site
Post by: Fking on November 22, 2012, 10:09:25 PM
did anyone of you guys implemented it already?


Title: Re: Free source code and live demo, how to accept btc on your site
Post by: Xenland on November 23, 2012, 04:19:52 AM
The bitcoin-php project is a year old and is really bloated might i suggest using a json rpc query library its super small http://jsonrpcphp.org/ for demo source code check out my signature link to see how to use json and Bitcoin together.

Wish you the best