I have a service running with Blockchain.info Receive Payments API.
My PHP script requests an address and in 95% of the times it works. The other 5% it receives an empty address. Why is this happening?
I've also setup a 2nd request in my script so if it fails to get an address for the first time, it will request another one, but again, it
also fails in this 2nd attempt.
Can you give me some help? I've tried submitting an help request with them but no answer.
$object = blockchain_api($url, $secret, $my_address);
$addr = $object->input_address;
// if 1st time fails, try one more time
if(empty($addr )){
// it ALWAYS fails the 2nd time if the 1st time also fails
$object = blockchain_api($url, $secret, $my_address);
$addr = $object->input_address;
}