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 the payment with API. Can someone tell me how to do this?