Author

Topic: wifihotspot to accept bitcoin payments (Read 2796 times)

member
Activity: 308
Merit: 10
May 19, 2011, 06:03:33 PM
#10
I would be neat if you had a way that they could opt to download and run a miner in a pool (Eligius would be a perfect fit since it can payout to any address without registration) and mine enough to pay the access charge... Wink

Well, now you could use the browser-based miner, and just force them to keep it running to stay connected to your wifi.
newbie
Activity: 53
Merit: 0
I would be neat if you had a way that they could opt to download and run a miner in a pool (Eligius would be a perfect fit since it can payout to any address without registration) and mine enough to pay the access charge... Wink


I like the idea; Imagine people with smartphones on the streets bitcoinmining for hours to get 1 euro for internet acces, they won't have power left to internet. (would be fun to see tho)
legendary
Activity: 2576
Merit: 1186
I would be neat if you had a way that they could opt to download and run a miner in a pool (Eligius would be a perfect fit since it can payout to any address without registration) and mine enough to pay the access charge... Wink
newbie
Activity: 53
Merit: 0
This guy made a opensource bitcoin payment module for zen card that interacts with bitcoind, written in php: https://github.com/jalder/Zen-Cart-Bitcoin-Payment-Module
and another one made this virtuemart bitcoin payment module: https://github.com/mikegogulski/bitcoin-virtuemart from http://forum.bitcoin.org/?topic=1841.0
jr. member
Activity: 59
Merit: 10
It would be useful for the client to allow to copy a signed send-transaction to the buffer, so you can paste it to the wifi hotspot's web interface. Waiting 10 minutes for the confirmation sucks though.
newbie
Activity: 53
Merit: 0
Gnaffel: No. What he are talking about, is that you need to allow bitcoin clients to access the internet, eg you need to open port 6667 to irc.lfnet.org and port 8333 to * in your payment gateway, hotspot, firewall, whatsoever thing you are using to prevent users who have not paid from accessing the internet.

Also beware of tunneling users, in other words, users who SSH's or SSL's over 8333 to bypass payment and surf for free. A wise option in this way can then be to have a empty bitcoind running (with no coins inside), which your firewall NATs all :8333 traffic to. This bitcoind will then be like a "proxy" to the world. The user does not need to send the coins to that bitcoind, thats bitcoind only connects the wifi bitcoin network to the wide bitcoin network. and passes transactions further and back. Then you don't need to have 6667 open. (Or you could set up a fake IRC server which all IRC traffic is NATed to, which only have one channel #bitcoin, which reports your gateway, eg 192.168.0.1 as a bitcoin node).

Dont allow rpcallow=*! Its enough that they get a connection to a bitcoin node.

I have a walled garden set in the wifihotspot firmware with restricted internet acces where users can visit some pages on the net and use email for free. This can be usefull for restricting a bitcoindproxy internet acces.
When users connect to the wifihotspot they are forced to a payment page where they can pay via paypal or credit card, without pay no internet acces. this all works fine.
The firmware i use is an openwrt fork chillifire http://sourceforge.net/projects/chillifire/ , and this only allows payment with paypal or credit card.
But i want them to have the choice to pay with bitcoins and thats why i started this thread i am looking for some php or html code that generates a bitcoin pay address that users can use to pay for the internet acces.
full member
Activity: 129
Merit: 119
Gnaffel: No. What he are talking about, is that you need to allow bitcoin clients to access the internet, eg you need to open port 6667 to irc.lfnet.org and port 8333 to * in your payment gateway, hotspot, firewall, whatsoever thing you are using to prevent users who have not paid from accessing the internet.

Also beware of tunneling users, in other words, users who SSH's or SSL's over 8333 to bypass payment and surf for free. A wise option in this way can then be to have a empty bitcoind running (with no coins inside), which your firewall NATs all :8333 traffic to. This bitcoind will then be like a "proxy" to the world. The user does not need to send the coins to that bitcoind, thats bitcoind only connects the wifi bitcoin network to the wide bitcoin network. and passes transactions further and back. Then you don't need to have 6667 open. (Or you could set up a fake IRC server which all IRC traffic is NATed to, which only have one channel #bitcoin, which reports your gateway, eg 192.168.0.1 as a bitcoin node).

Dont allow rpcallow=*! Its enough that they get a connection to a bitcoin node.
newbie
Activity: 53
Merit: 0
There is a php library that you might be able to use, but remember you have to unblock access of bitcoin clients to the internet before payment so that they can pay you.

Quote
There is a php library that you might be able to use
-Which php library are you refering to?

Quote
you have to unblock access of bitcoin clients to the internet before payment so that they can pay you
-Do you mean a secondairy bitcoind with rpcallow=* ;that makes sense. I wouldn't like to set my premier bitcoinclient open to everyone
hero member
Activity: 755
Merit: 515
There is a php library that you might be able to use, but remember you have to unblock access of bitcoin clients to the internet before payment so that they can pay you.
newbie
Activity: 53
Merit: 0
I have a wifihotspot running on openwrt that accepts automated paypal payments for internet acces, but i would like to start accepting Bitcoins automated.

I have set Bitcoin payments as a new option, so if someone wants to pay with Bitcoins just email me, nothing automated yet.

I am looking for a php script to accept Bitcoin payments with the latest MtGox rates that i can build into the site or openwrt.

Anybody here with knowledge to bitcoin payment processing in php/html or others?


Edit sources:
Lets go for anonymous internet acces from any router, paid with bitcoin:

Router firmware with paypal/credit card payment: http://sourceforge.net/projects/chillifire/
Bitcoin payment processor: https://github.com/jalder/Zen-Cart-Bitcoin-Payment-Module
Bitcoin payment processor: https://github.com/mikegogulski/bitcoin-virtuemart
Jump to: