receive-payments-demos icon indicating copy to clipboard operation
receive-payments-demos copied to clipboard

Callback Issues

Open The0ld opened this issue 5 years ago • 2 comments

I was carrying out tests with the methods of notification of payment and in none of the cases does it reach the callback, I do not know if I am doing the wrong procedure, but I am following all the documentation, my use cases are:

Receive method: https://api.blockchain.info/v2/receive

Parameters:

xpub=key public
key=api_code
callback = http%3A%2F%2F45.33.87.135%3A9094%2Fapi%2Fv1%2FrecivePayment%3Finvoice_id%3D59%26secret%3Dpassword

this generates the addres and at the time of making a payment to that address they do not notify me of the callback;

Then I use the receive / balance_update method: https://api.blockchain.info/v2/receive/balance_update

Parameters:

{
"key": "asdasdadsasdas",
"addr": "my address",
"callback": "http://45.33.87.135:9094/api/v1/recivePayment?invoice_id=59&secret=password",
"confs": 1,
"onNotification": "KEEP",
"op": "ALL"
}

None of these methods worked for me. Could you help me?

The0ld avatar Oct 23 '19 14:10 The0ld

I am experiencing similar issue, where callback is not being called (nothing on access log) though the payment was received.

Further more the callback_log is returning empty results, which logically it means that callback wasn't initiated even - so it must be an issue on blockchain.info side.

Support asked to open issue on github somewhere..

captainreptile avatar Dec 02 '19 15:12 captainreptile

I was able to fix the issue: SSL Certificate wasn't installed properly (without the CA or bundle) In browser this issue wouldn't appear, unless you try to "curl" the called-back URL it will then return an error regards the SSL.

You may test SSL here also: https://ssllabs.com

p.s: For some reason callback_log doesn't log this access attempts, it would have saved some hours if it did.

captainreptile avatar Dec 03 '19 12:12 captainreptile