1,105,290 Community Members

Bit coin API

Member Avatar
neha05
Junior Poster in Training
50 posts since Dec 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

Hello everyone here

I am making project on bids and offer ,in which payment gateway i need to use is bitcoin ,so any one help me to guide from where i start

Thanks

Member Avatar
oop_php
Newbie Poster
15 posts since Feb 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 4 [?]
 
0
 

Hello,

Assuming that you already written the codes for your site, including the payment processor script ready to be integrated with the desired payment gateways.

Visit this site .Click Here.

Download the JSON RPC PHP file.

Sign up for your account at the payment gateway site..

Basic implementation as shown on their wiki

  require_once 'jsonRPCClient.php';

  $bitcoin = new jsonRPCClient('http://user:password@127.0.0.1:8332/');

  echo "<pre>\n";
  print_r($bitcoin->getinfo()); echo "\n";
  echo "Received: ".$bitcoin->getreceivedbylabel("Your Address")."\n";
  echo "</pre>";
Member Avatar
neha05
Junior Poster in Training
50 posts since Dec 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

thanks oop ,i read the links u gave above but i am not getting how i exactly use it with my database and what changes are required ?

thanks again

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: