-1

I am using coinbase api https://github.com/coinbase/coinbase-php and I successfully created order button but I didn't found anything to confirm or track that I have received payment.

<?php
    require_once 'lib/coinbase.php';
    require_once 'config.php';
    $coinbase = Coinbase::withApiKey(Key, Secret);
    echo $coinbase->createButton("Bullion Products", "10.00", "BTC")->embedHtml;
?>

With this codes I am able to show Pay with bitcoins its showing correct values but just want to track with API that someone send me bitcoins so I'll do some action according to it.

Thanks

Mohit Bumb
  • 2,466
  • 5
  • 33
  • 52

1 Answers1

0

Use the callback_url option as described in the API.

Chris Martin
  • 30,334
  • 10
  • 78
  • 137
  • I have given notification url as http://mydummysite.com/Coinbase/callback.php, but unable to read what is being posted. Please let me know if you have parsed the response using PHP – Anoop Pete Jun 29 '16 at 12:27
  • Do u have any code snipped to get all notifications using PHP? – Anoop Pete Jun 29 '16 at 12:28