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!
<div class="blockchain-btn" style="width:auto" data-create-url="create.php">
To pass the invoice # along, you need to add this:
<div class="blockchain-btn" style="width:auto" data-create-url="create.php?invoice_id=<?php echo $invoice_id;?>">
They only tacked that variable onto the order status URL, but its create.php that needs it...