Bitcoin Forum
May 13, 2024, 11:07:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: help me with block.io!  (Read 369 times)
Coinbuddy (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000



View Profile
July 24, 2016, 10:22:35 AM
 #1

Below is the code which generate BTC address, but i want to make it like this where i add amount in USD in the php code and it converts that USD in BTC rate at of that time. When people send money to that address it will show PAID message and TX ID. Kinda like checkout for items

Code:
<?php

require_once ("block_io.php") ;


 
$apiKey "123-123-123-123";
 
$version 2// API version
 
$pin "test123";
 
$block_io = new BlockIo($apiKey$pin$version);
 
 
$newAddressInfo $block_io->get_new_address();

 echo 
"label: ".$newAddressInfo->data->label"<br>";



?>

<h1><?php echo "Deposit Address: ".$newAddressInfo->data->address."<br>"?></h1>

Hope you'll help me! i want to use it accept bitcoin
1715598447
Hero Member
*
Offline Offline

Posts: 1715598447

View Profile Personal Message (Offline)

Ignore
1715598447
Reply with quote  #2

1715598447
Report to moderator
1715598447
Hero Member
*
Offline Offline

Posts: 1715598447

View Profile Personal Message (Offline)

Ignore
1715598447
Reply with quote  #2

1715598447
Report to moderator
1715598447
Hero Member
*
Offline Offline

Posts: 1715598447

View Profile Personal Message (Offline)

Ignore
1715598447
Reply with quote  #2

1715598447
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715598447
Hero Member
*
Offline Offline

Posts: 1715598447

View Profile Personal Message (Offline)

Ignore
1715598447
Reply with quote  #2

1715598447
Report to moderator
1715598447
Hero Member
*
Offline Offline

Posts: 1715598447

View Profile Personal Message (Offline)

Ignore
1715598447
Reply with quote  #2

1715598447
Report to moderator
1715598447
Hero Member
*
Offline Offline

Posts: 1715598447

View Profile Personal Message (Offline)

Ignore
1715598447
Reply with quote  #2

1715598447
Report to moderator
BitcoinSupremo
Copper Member
Hero Member
*****
Offline Offline

Activity: 1442
Merit: 529


View Profile
July 26, 2016, 06:41:47 AM
 #2

Below is the code which generate BTC address, but i want to make it like this where i add amount in USD in the php code and it converts that USD in BTC rate at of that time. When people send money to that address it will show PAID message and TX ID. Kinda like checkout for items

Code:
<?php

require_once ("block_io.php") ;


 
$apiKey "123-123-123-123";
 
$version 2// API version
 
$pin "test123";
 
$block_io = new BlockIo($apiKey$pin$version);
 
 
$newAddressInfo $block_io->get_new_address();

 echo 
"label: ".$newAddressInfo->data->label"<br>";



?>

<h1><?php echo "Deposit Address: ".$newAddressInfo->data->address."<br>"?></h1>

Hope you'll help me! i want to use it accept bitcoin

You need to move this to the technical support section of this forum. As you have already seen from 0 answers so far, users of this section are more focused on talking about services and discussing about them. In the technical support board there are a lot of experienced users who will love to help you out. All the technical problems I had (not that many) I got a really fast response on how to solve them.
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!