0

I want to integrate the Blockchain.info Payment API and everything works fine so far. The callback works and triggers the code on my server, if a payment comes in. But if I check the callback log of Blockchain.info, it says, it retrieved the status code 302 back from my server when calling the callback url. If I check the callback url in the browser or with curl, I just get a status code 200.

Is that some known problem? Or does anybody know whats the issue is here? Or is everything fine and the blockchain.info service can read the ok from my server? Otherwise my callback will be banned if I read the docs correctly...

0

1 Answer 1

0

normally it has to be 200, the 302 mean that the requested resource resides temporarily under a different URI.

Dont block "GET" requests on your code because blockchain use GET method to send your notifications about the transactions.

Use your full domain name including the leading www example :

http://www.example.com/callback....

In case of https ! make sure you include it in the callback URL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.