Thanks for your work and great lessons!
i have some questions...
i have installed blockchain-wallet-service and start on port 3030.
i have aproved api key.
i start php script
<?
$url = "
http://127.0.0.1:3030/merchant/my-GUID/login?password=my-PASSWORD&api_code=my-API-CODE";
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, $url);
$ccc = curl_exec($ch);
$json = json_decode($ccc, true);
echo "<pre>";
var_dump($json);
echo "</pre>";
?>
but server answer:
array(1) {
["error"]=>
string(69) "Request to fetch wallet timed out, check that your API key is correct"
}
what is this?
why don't work?
also not work without api key..
http://localhost:3000/merchant/$guid/balance?password=$main_password
but receive api v2 is work well.
and work callback url
please help me..
thanks!