Bitcoin Forum
September 26, 2016, 12:16:24 PM *
News: Latest stable version of Bitcoin Core: 0.13.0 (New!) [Torrent]. Make sure you verify it.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Payment server  (Read 80656 times)
giik
Newbie
*
Offline Offline

Activity: 24


View Profile
January 27, 2010, 07:51:02 AM
 #1

As I have read in some topics (https://www.bitcoin.org/smf/index.php?topic=12.0, https://www.bitcoin.org/smf/index.php?topic=19.0), a payment server is needed for a broader acceptance of Bitcoins.

I want to create a php webapplication which can process Bitcoins transactions. I have a LAMP system up and running, but until now I used bitcoins on Windows only. Can anyone help me to create a linux installation of Bitcoins with a command line interface?

Server runs Ubuntu 9.10 32-bit. Or should I use a different distribution?

My idea is simple:

- visitor wants to buy something;
- payment page shows him the amount of Bitcoins he has to pay, including an orderid and a ip-address of the server (because messages can only be sent through ipaddress-transactions);
- visitor makes a payment with his Bitcoin application and places the orderid in the message of the payment;
- server receives payment and checks orderid and amount;
- payment is received, visitor is sent a downloadlink/confirmation of purchase/etc.

Think this is possible with Bitcoin 0.2?
1474892184
Hero Member
*
Offline Offline

Posts: 1474892184

View Profile Personal Message (Offline)

Ignore
1474892184
Reply with quote  #2

1474892184
Report to moderator
1474892184
Hero Member
*
Offline Offline

Posts: 1474892184

View Profile Personal Message (Offline)

Ignore
1474892184
Reply with quote  #2

1474892184
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1474892184
Hero Member
*
Offline Offline

Posts: 1474892184

View Profile Personal Message (Offline)

Ignore
1474892184
Reply with quote  #2

1474892184
Report to moderator
1474892184
Hero Member
*
Offline Offline

Posts: 1474892184

View Profile Personal Message (Offline)

Ignore
1474892184
Reply with quote  #2

1474892184
Report to moderator
1474892184
Hero Member
*
Offline Offline

Posts: 1474892184

View Profile Personal Message (Offline)

Ignore
1474892184
Reply with quote  #2

1474892184
Report to moderator
riX
Sr. Member
****
Offline Offline

Activity: 327



View Profile
January 27, 2010, 10:04:46 AM
 #2

Instead of an ip-address, an unique bitcoin address should be created, and is also way less vulnerable. This is all that is needed for the server to keep track of incoming bitcoins.

You will have to do some programming to get command-line access to the needed functions.

I bet you could get someone to do it for you for some bitcoins  Grin

giik
Newbie
*
Offline Offline

Activity: 24


View Profile
January 27, 2010, 10:44:44 AM
 #3

Instead of an ip-address, an unique bitcoin address should be created, and is also way less vulnerable. This is all that is needed for the server to keep track of incoming bitcoins.

Sirius-m said (https://www.bitcoin.org/smf/index.php?topic=25.msg129#msg129):
Quote
Unfortunately you can't attach a message when you send to a Bitcoin address. It's possible only when sending to an IP.

And:

Quote
I think it was some technical limitation. Satoshi could tell more about this?

Is it possible in Bitcoin 0.2 to attach messages when using a bitcoin address?
riX
Sr. Member
****
Offline Offline

Activity: 327



View Profile
January 27, 2010, 11:33:51 AM
 #4

No, you can't send a message when sending to an ip, but that's what the _unique_ bitcoin address is for.

When the customer places an order, the server creates a new bitcoin address to be used for that order only. (This can be seen as the orderId if you want).
When the customer makes a payment to that bitcoin address/orderId, the server will know who it's from.
There's no need for a message.

giik
Newbie
*
Offline Offline

Activity: 24


View Profile
January 27, 2010, 11:56:17 AM
 #5

This means that a server can process one payment at a time. Unless a server is capable of having more than one bitcoin address.
riX
Sr. Member
****
Offline Offline

Activity: 327



View Profile
January 27, 2010, 12:49:07 PM
 #6

Wallets already support multiple bitcoin addresses.

You should check out "Options/Change your address" in your bitcoin app Grin

giik
Newbie
*
Offline Offline

Activity: 24


View Profile
January 27, 2010, 01:23:17 PM
 #7

Wallets already support multiple bitcoin addresses.

You should check out "Options/Change your address" in your bitcoin app Grin

riX, you are absolutely right! Embarrassed

Now all I need is a command line version of Bitcoin.

Command line is on the to-do list after 0.2.

Satoshi, when we may expect the new command line-abled version of Bitcoin? Or is it possible to compile Bitcoin 0.2 in a way it can be used by command lines?
satoshi
Founder
Sr. Member
*
Offline Offline

Activity: 364


View Profile
January 28, 2010, 11:26:09 PM
 #8

That's the right way to do it as riX says.  The software can generate a new bitcoin address whenever you need one for each payment.  "Please send X bc to [single-use bitcoin address] to complete your order"  When the server receives that amount to the bitcoin address, that could trigger it to automatically fulfil the order or e-mail the shop owner.

Adding command line support is a high priority.  It's just a matter of getting the time to code it.
The Madhatter
Hero Member
*****
Offline Offline

Activity: 490


My avatar pic says it all


View Profile
January 29, 2010, 02:32:51 AM
 #9

Great! I guess this statement obsoletes my last post. Wink

(https://www.bitcoin.org/smf/index.php?topic=25.msg178#msg178)

Adding command line support is a high priority.  It's just a matter of getting the time to code it.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!