Bitcoin Forum
May 13, 2024, 09:54:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Payment server  (Read 90236 times)
giik (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 1


View Profile
January 27, 2010, 07:51:02 AM
Last edit: January 27, 2010, 01:24:27 PM by giik
 #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?
1715637299
Hero Member
*
Offline Offline

Posts: 1715637299

View Profile Personal Message (Offline)

Ignore
1715637299
Reply with quote  #2

1715637299
Report to moderator
1715637299
Hero Member
*
Offline Offline

Posts: 1715637299

View Profile Personal Message (Offline)

Ignore
1715637299
Reply with quote  #2

1715637299
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
riX
Sr. Member
****
Offline Offline

Activity: 326
Merit: 252



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

Sorry, I can't help you with your lost password.

PGP key: 0x9F31802C79642F25
giik (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 1


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: 326
Merit: 252



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.

Sorry, I can't help you with your lost password.

PGP key: 0x9F31802C79642F25
giik (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 1


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: 326
Merit: 252



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

Sorry, I can't help you with your lost password.

PGP key: 0x9F31802C79642F25
giik (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 1


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
Merit: 6723


View Profile
January 28, 2010, 11:26:09 PM
Merited by EFS (100), OgNasty (50)
 #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
Merit: 509


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.
budi691
Sr. Member
****
Offline Offline

Activity: 1218
Merit: 259


Seabet.io | Crypto-Casino


View Profile
June 15, 2017, 04:25:08 PM
 #10

Payment server?

I think it's normal
Because to grab a tuna, you can not use a small bait, but not a big bait.
Maybe it's just a term, but a big meaning in achieving success. So too with bitcoin.

████████▄▄█▀▀▀▀▀▀▀█▄▄
████████▄▄▄    ▄▄█▀▀▀██▄
   ▄██▀▀▀▀▀▀████▄▄███████▄
  █▀██████▄█▀ ▄█▀▀▀██▀▀▀███
  ██████▄██▀▀▀██████▀█▄ ███
  █▄ ▀▀ █████████████████
▄  ██   █▀████████████▄█ █
▀█  ▀█▄ ▄████████████▀▀▄██
 ▀█   ▀████████████████▄█▀
  ▀█▄    ████▄▄██████▄▄██▀
    ▀▀█▄▄ █▄▄  ▀▀▀▀███▀
████████▀▀▀██████▀▀▀
.
Seabet.io
█▀▀▀










█▄▄▄
▀▀▀█










▄▄▄█
.
SPORTS
▀▀▀█










▄▄▄█
🎰.
CASINO
▀▀▀█










▄▄▄█
██████
██
██
██
██
██
██
██
██
██
██
██████
████████████████████████████████   ████████████████   ██████
.
..PLAY NOW..
.
██████   ███████████████████   █████████████████████████████
██████
██
██
██
██
██
██
██
██
██
██
██████
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!