Bitcoin Forum

Bitcoin => Project Development => Topic started by: 687_2 on October 18, 2014, 05:19:26 AM



Title: I created a simple BTC merchant processing solution
Post by: 687_2 on October 18, 2014, 05:19:26 AM
Live demo: http://fullstack.ch/btcbox/

Feel free to drop some Satoshis in there to see the different images (all SFW), and contribute to the code on Github  ;D

Source: https://github.com/jswebdevel/btcbox

Background:

This is a stand alone system for accepting Bitcoin as a merchant. It requires a small amount of PHP/HTML/MySQL knowledge and a server. I built this in response to increasing demands for private information by third party processors, which creates barriers to entry for many merchants who may not even possess such information. It could also help merchants to rapid prototype business ideas at very low cost. Thanks to several members of this forum for code samples, one function I copied verbatim from here.

I plan to deploy this system in a more commercial environment in the near future. Hopefully some people find it useful/interesting for their own purposes - whether it is for education or commerce.


Title: Re: I created a simple BTC merchant processing solution
Post by: Miracal on October 18, 2014, 12:59:28 PM
Most of ppl know nothing about coding thing. That is why associated services are offering to them. The payment processors such as coinbase are popular to them.


Title: Re: I created a simple BTC merchant processing solution
Post by: EnzoBlaque on October 18, 2014, 09:03:04 PM
If you're verifiably good at coding, i have something similar but more profitable for you to sink your teeth into. It's a payment processor but better. send me a pm. loads of $$$ involved btw


Title: Re: I created a simple BTC merchant processing solution
Post by: RagnarDanneskjold on October 19, 2014, 11:40:14 AM
Live demo: http://fullstack.ch/btcbox/

Feel free to drop some Satoshis in there to see the different images (all SFW), and contribute to the code on Github  ;D

Source: https://github.com/jswebdevel/btcbox

Background:

This is a stand alone system for accepting Bitcoin as a merchant. It requires a small amount of PHP/HTML/MySQL knowledge and a server. I built this in response to increasing demands for private information by third party processors, which creates barriers to entry for many merchants who may not even possess such information. It could also help merchants to rapid prototype business ideas at very low cost. Thanks to several members of this forum for code samples, one function I copied verbatim from here.

I plan to deploy this system in a more commercial environment in the near future. Hopefully some people find it useful/interesting for their own purposes - whether it is for education or commerce.

nicely done, forked it

LOL @ Thanks buddy, you're cool! img


Title: Re: I created a simple BTC merchant processing solution
Post by: zebroid on October 24, 2014, 02:01:49 PM
Hey , thanx for this - a nice starter script to play with and maybe hook into a simple plugin for a downloads site.
 ;)


Title: Re: I created a simple BTC merchant processing solution
Post by: obale on October 24, 2014, 09:37:20 PM
As far as I can see you have to click on the button, in order to check if an amount was paid. During a hackathon we have developed a similar system. It automatically detects incoming transactions and notifies the frontend. The development time was minimal.

Do you plan to extend this code? A few ideas are:

  • Integrate with (own) bitcoin network monitoring node and notify the web frontend via socket.io (no busy waiting)
  • Support (simple) invoices with a fixed (or dynamic) amount.
  • Support HD wallets and use only the extended public key on the server side (no need for the MySQL database, at least not for bitcoin addresses).
  • ...


Title: Re: I created a simple BTC merchant processing solution
Post by: BlackMarket on October 28, 2014, 09:12:32 PM
thank you, this is help me  ;)


Title: Re: I created a simple BTC merchant processing solution
Post by: countryfree on October 29, 2014, 07:33:43 PM
This is a nice project, except that you have to spend some of your BTC to try it out. How about giving the user the choice of giving his own address? (Everybody has several addresses).


Title: Re: I created a simple BTC merchant processing solution
Post by: 687_2 on November 21, 2014, 04:33:10 AM
As far as I can see you have to click on the button, in order to check if an amount was paid. During a hackathon we have developed a similar system. It automatically detects incoming transactions and notifies the frontend. The development time was minimal.

Do you plan to extend this code? A few ideas are:

  • Integrate with (own) bitcoin network monitoring node and notify the web frontend via socket.io (no busy waiting)
  • Support (simple) invoices with a fixed (or dynamic) amount.
  • Support HD wallets and use only the extended public key on the server side (no need for the MySQL database, at least not for bitcoin addresses).
  • ...

I was not aware of socket.io, what a great find! I was using Wt (http://www.webtoolkit.eu/wt) to accomplish the same thing for another project; socket.io seems far more practical.

Can you explain how you would use the extended public key on the server? I was planning to build the next version of this project using Python and Redis, but it would be great to just use Python/socket.io to do everything without a database...I just don't know how you'd safely generate a key pair on a public-facing server.