Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Callback not working #85

Open
irfankhan86004 opened this issue Feb 10, 2021 · 2 comments
Open

Callback not working #85

irfankhan86004 opened this issue Feb 10, 2021 · 2 comments

Comments

@irfankhan86004
Copy link

Hi Support Team,

I follow this same code but callback not working

$secret = 'ZzsMLGKe162CfA5EcG6j';

$my_xpub = '{YOUR XPUB ADDRESS}';
$my_api_key = '{YOUR API KEY}';

$my_callback_url = 'https://mystore.com?invoice_id=058921123&secret='.$secret;

$root_url = 'https://api.blockchain.info/v2/receive';

$parameters = 'xpub=' .$my_xpub. '&callback=' .urlencode($my_callback_url). '&key=' .$my_api_key;

$response = file_get_contents($root_url . '?' . $parameters);

$object = json_decode($response);

echo 'Send Payment To : ' . $object->address;

Please guide me what's wrong here

Thanks

@kr1m
Copy link

kr1m commented Feb 11, 2021

Email [email protected] and alert him about the callbacks not being sent out because the API is a) down, b) broken, or c) blocking everyone's domains. Blockchain's inadequate customer support will tell you to post on the github but it's useless because no one from blockchain even posts on the receive payments API and its last push was years ago. It's worked up until Feb 1st/2nd.

Refer Andrew to the many many issues being made about this and maybe he'll actually do his job.

@irfankhan86004
Copy link
Author

Can you please give me support team so i will talk with him regarding this issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants