Author

Topic: I found an issue with the Blockchain.info PHP examples (Read 1346 times)

sr. member
Activity: 378
Merit: 250
I believe that the most apropriate thing you could do would be to contact them if you haven't already.

This is an old thread, but I did contact them many times about that.  I felt that giving everyone the heads up was the appropriate thing to do as well.  I thought it might help someone out there.  Smiley
legendary
Activity: 2422
Merit: 1451
Leading Crypto Sports Betting & Casino Platform
I believe that the most apropriate thing you could do would be to contact them if you haven't already.
newbie
Activity: 12
Merit: 0
another issue is that the examples use your original btc address to generate the QR code, which will cause the callback not to fire back.

$my_bitcoin_address was set in the include as the btc address to forward to.


sr. member
Activity: 378
Merit: 250
Hello everybody.  I would like to make a contribution back to you guys for helping me learn how to accept BTC payments with PHP.
Anyone who uses the PHP examples provided by Blockchain.info will realize that the callback is not returning an invoice number.   This can cause a lot of confusion, especially for those just starting out.

After looking at Index.PHP for awhile, I found the culprit!


Quote
 


To pass the invoice # along, you need to add this:


Quote



They only tacked that variable onto the order status URL, but its create.php that needs it...
Smiley
Jump to:
© 2020, Bitcointalksearch.org