Bitcoin Forum

Other => Beginners & Help => Topic started by: flaab on October 09, 2012, 01:45:23 PM



Title: [HELP] BlockChain.info RECEIVE MONEY API does not execute the callback
Post by: flaab on October 09, 2012, 01:45:23 PM
Hi there,

I know this is not the best place to ask for help regarding an API from a third-party but I've contacted blockchain several times without response. I am creating a simple Bitcoin application using the Receive Payments API from Blockchain:
https://blockchain.info/api/api_receive

....and everythings works fine except one thing: the http callback is not executed for real transactions. Everythings goes fine, the money flows from one address to another but the callback is not executed. The test callback works fine.

I have contacted them several times without response. Can anyone guess or has experienced this problem before?

Thanks in advance!


Title: Re: [HELP] BlockChain.info RECEIVE MONEY API does not execute the callback
Post by: Coinbets on October 11, 2012, 04:12:46 AM
I have just been playing around with this API myself, and I receive only one callback for every payment, even when I don't echo "*ok*" ... Shouldn't the callbacks keep coming until I echo "*ok*"?


Title: Re: [HELP] BlockChain.info RECEIVE MONEY API does not execute the callback
Post by: weex on October 11, 2012, 04:26:58 AM
I doubt anyone would design an API that keeps calling the callback indefinitely. I read that API document to mean that the API doesn't care what you do with the callback. After all, your service is dependent on blockchain.info's API not the other way around.


Title: Re: [HELP] BlockChain.info RECEIVE MONEY API does not execute the callback
Post by: gweedo on October 11, 2012, 05:29:25 AM
https://en.bitcoin.it/wiki/BitcoinNotify

here are some alts


Title: Re: [HELP] BlockChain.info RECEIVE MONEY API does not execute the callback
Post by: piuk on October 11, 2012, 08:38:17 AM
....and everythings works fine except one thing: the http callback is not executed for real transactions. Everythings goes fine, the money flows from one address to another but the callback is not executed. The test callback works fine.

Was the callback should not called once? What is the URL in question I will check the logs?

I can confirm there was an issue with the callback not being retried every block until the "*ok*" is given which should be fixed now.



Title: Re: [HELP] BlockChain.info RECEIVE MONEY API does not execute the callback
Post by: Coinbets on October 11, 2012, 01:39:00 PM
Works now :) Thanks!


Title: Re: [HELP] BlockChain.info RECEIVE MONEY API does not execute the callback
Post by: Coinbets on October 11, 2012, 01:44:03 PM
Does anyone know if there is a similar service for Litecoin btw?


Title: Re: [HELP] BlockChain.info RECEIVE MONEY API does not execute the callback
Post by: Coinbets on October 12, 2012, 01:09:40 AM
Is it just me, or did the "address" parameter just disappear?

edit: just came back...