Code Monkey home page Code Monkey logo

Comments (10)

coinables avatar coinables commented on September 26, 2024 1

from blockchain-receive-payments-api-shopping-cart.

coinables avatar coinables commented on September 26, 2024

Is your server catching errors, and have you checked your debug log? I'll see if I can try it this weekend to reproduce the error.

from blockchain-receive-payments-api-shopping-cart.

michaelsomerville avatar michaelsomerville commented on September 26, 2024

In the process right now, of debugging .. I'll let you know lol

from blockchain-receive-payments-api-shopping-cart.

michaelsomerville avatar michaelsomerville commented on September 26, 2024

Getting this from blockchain ...

https://api.blockchain.info/v2/receive/callback_log?callback=http%3A%2F%2Ft.MYSITE.com%2Fblockchain%2Fcallback.php%3Finvoice%3Dd4f779a5571f8c48b643b4245f6b02ef%26secret%3Dcashmunkey&key=MYAPIKEY
array(1) { [0]=> array(4) { ["callback"]=> string(107) "http://t.MYSITE.com/blockchain/callback.php?invoice=d4f779a5571f8c48b643b4245f6b02ef&secret=cashmunkey" ["calledAt"]=> int(1510034729000) ["responseCode"]=> int(401) ["rawResponse"]=> string(511) "
Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the reques" } }

from blockchain-receive-payments-api-shopping-cart.

coinables avatar coinables commented on September 26, 2024

from blockchain-receive-payments-api-shopping-cart.

michaelsomerville avatar michaelsomerville commented on September 26, 2024

Okay, I got it to send - but for some reason it's only hitting once and that's it.

[ {
  "callback" : "http://XXXX.com/apitesting/bc-api/callback.php?invoice_id=22&secret=XXXX",
  "calledAt" : 1510207257000,
  "responseCode" : 200,
  "rawResponse" : "Waiting for confirmations"
} ]

from blockchain-receive-payments-api-shopping-cart.

michaelsomerville avatar michaelsomerville commented on September 26, 2024

Yeah, but I haven't shown them ok lol so ...

from blockchain-receive-payments-api-shopping-cart.

michaelsomerville avatar michaelsomerville commented on September 26, 2024

It sends the first time, then logs what I have above ...


[ {
  "callback" : "http://XXXX.com/apitesting/bc-api/callback.php?invoice_id=22&secret=XXXX",
  "calledAt" : 1510207257000,
  "responseCode" : 200,
  "rawResponse" : "Waiting for confirmations"
} ]

Everything is prefect on my end, when I test and debug. The api callback never sends or comes to the url again after that. There is no " OK " shown and you can see that from the log I pasted here.

I have a logger on the file to track if the server sends again, but never does.

from blockchain-receive-payments-api-shopping-cart.

mmt78 avatar mmt78 commented on September 26, 2024

I have a callback delay issue. It takes 4-6 hours to be fired the callback function. Any idea about the problem?

from blockchain-receive-payments-api-shopping-cart.

Harpreetsinghbedi avatar Harpreetsinghbedi commented on September 26, 2024

I am having issue with Blockchain call back from last week. It stopped working 6 days ago.

let me explain the steps how exactly i am doing.

Generating address (https://api.blockchain.info/v2/receive?xpub=$xpub&callback=$callback_url&key=$key)
Balance Updates (https://api.blockchain.info/v2/receive/balance_update) with confirmations, callback, onNotification, op, addr, key.
Made payment for above created address.
Payment confirmed at Blockchain and also showing confirmations counter but not getting any confirmation on callback URL.
Also tried to get "Callback Logs" but getting null/ empty array.

It is happening from last week. Don't know what Blockchain change at their side.

Please help me to resolve this issue.

from blockchain-receive-payments-api-shopping-cart.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.