BitcoinDealer (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
June 21, 2011, 06:53:11 PM |
|
Hi,
What's the best way to catch transaction information for automated handling of purchases on a website. For example, the instawallet site, is it open source?
|
|
|
|
|
|
|
|
|
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
BitcoinDealer (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
June 21, 2011, 07:06:07 PM |
|
Bitcoin seems to lack this feature yet
|
|
|
|
MBH
Newbie
Offline
Activity: 51
Merit: 0
|
|
June 21, 2011, 07:19:58 PM |
|
You could use blockexplorer.com to track the transactions. The client shows how many confirmations the transactions have received; you could make use of that.
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1024
|
|
June 21, 2011, 08:39:02 PM |
|
The listtransactions command will do it, or listreceivedbyaddress. Most sites use JSON RPC to communicate with a bitcoind daemon, either running on the webserver or elsewhere.
You can play with it a bit on the command line to see how it all works. Normally, you use getnewaddress to create a new address, then setaccount to associate the address with an account (just a name), then "listtransactions" to see if it has arrived yet.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
bbjansen
Newbie
Offline
Activity: 14
Merit: 0
|
|
June 21, 2011, 08:41:07 PM |
|
I will look into this soon too and would love to see or else develop a WHMCS plugin that will support payments and invoices via Bitcoins. It will probably be a bit more tricky than a standard PayPal transaction/invoice but should be possible.
|
|
|
|
BitcoinDealer (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
June 21, 2011, 09:18:56 PM |
|
Yeah I guess it requires some modified Bitcoin client.
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1024
|
|
June 21, 2011, 11:18:09 PM |
|
No, it works just fine with the stock client. You may need to create or edit a bitcoin.conf file to tell the software to listen for API requests.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
BitcoinDealer (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
June 21, 2011, 11:29:45 PM |
|
Whats the stock client?
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1024
|
|
June 21, 2011, 11:31:52 PM |
|
The stock client is the one you can download from here.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
|