Author

Topic: [php] blockchain api problem tx hash not show and not send payment please help (Read 1045 times)

newbie
Activity: 25
Merit: 0
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

https://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
Jump to: