Post
Topic
Board Service Discussion
Topic OP
[php] blockchain api problem tx hash not show and not send payment please help
by
parames3010
on 28/02/2015, 16:51:05 UTC
Edit : now i can fix this problem  Smiley

$sendPayment = json_decode(file_get_contents("https://blockchain.info/merchant/$ID/payment?password=$PW&to=&address&amount=$amount  (Change & to $)

-----------------------------------------------------------------------------------

Hi bitcointalk member.  

i have some problem. i can't fixed  Sad  
today i write cashout script. tx_hash don't show and not payment  i don't know what wrong  Huh

http://i.imgur.com/bhkwIIO.png

PHPCode:
Code:

$ID = "***********************";
$PW = "**************";

$sendPayment = json_decode(file_get_contents("https://blockchain.info/merchant/$ID/payment?password=$PW&to=&address&amount=$amount"), true);

$txID = "Transaction ID:" . $sendPayment[tx_hash];
$message = "Payment successfully send to ";

HTML IN BODY Code:
Code:



echo $message; echo $address?>

echo $txID?>

Logout





Thank  Smiley