Start New Discussion Reply to this Discussion Bit coin API
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
neha05
Newbie Poster
21 posts since Dec 2012
Reputation Points: 0
Solved Threads: 1
Skill Endorsements: 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>";
oop_php
Newbie Poster
15 posts since Feb 2013
Reputation Points: 0
Solved Threads: 4
Skill Endorsements: 2
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
neha05
Newbie Poster
21 posts since Dec 2012
Reputation Points: 0
Solved Threads: 1
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page rendered in 0.0599 seconds
using 2.68MB