Author

Topic: Php -> wallet (Read 731 times)

sr. member
Activity: 330
Merit: 250
October 18, 2013, 02:14:34 PM
#5
I've got bitcoind client on server so external services is not what I'm looking for. How to process what I described in php code?
Simple JSON-RPC. Use this library  - http://jsonrpcphp.org/?page=download&lang=en

Code:
  require_once 'jsonRPCClient.php';
 
  $bitcoin = new jsonRPCClient('http://user:[email protected]:8332/');
 
  echo "
\n";
  print_r($bitcoin->getinfo());
  echo "
";
full member
Activity: 154
Merit: 100
October 17, 2013, 03:12:05 PM
#4
I've got bitcoind client on server so external services is not what I'm looking for. How to process what I described in php code?
sr. member
Activity: 330
Merit: 250
full member
Activity: 154
Merit: 100
October 16, 2013, 11:00:18 AM
#1
I have this use case: I want to sell product per bitcoins. We have online bitcoin wallet with unique name per product per buying customer.

I want to display bitcoin payment link (sth like bitcoin:wallet?amout=0.001) and make user to process the payment.

It requires 3 confirmations to accept the payment.

Then I want to check, if payment was successful (somecron?).

I'm new to this. Can I ask you, how this would look like in php?
Jump to: