$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
today i write cashout script. tx_hash don't show and not payment i don't know what wrong
https://i.imgur.com/bhkwIIO.png
PHPCode:
$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:
echo $message; echo $address; ?>
echo $txID; ?>
Logout
Thank