From my understanding you want to monitor incoming, your own wallet/addresses, transactions right?
There are a couple of way of doing this, assuming you can run a full server (bitcoin, php, sql)
The first is using wallet_notify in bitcoin.conf.
walletnotify=wget "http://yourdomain/newTX.php?coin=bitcoin&tx=%s"
You can also call a script or any command actually, %s holds the tx received.
You may want to see who is the sender of that tx, you can do it with the following:
newTX.php
<?php
include "jsonRPCClient.php";
$rpc = new jsonRPCClient("http://bitcoinrpc:rpcpass@127.0.0.1:24000/");
$tx = $_GET["tx"];
$txidJson = $rpc->gettransaction($tx, true);
if(isset($txidJson))
{
$address = $txidJson["details"][0]["address"];
$type = $txidJson["details"][0]["category"];
$amount = $txidJson["details"][0]["amount"];
echo $address . ":" . $type;
//add to sql or anything else
}
?>
If you know when you are supposed to get a new transaction and know the address where the client is going to pay you can:
1-At sql make confirms field default=-1
2-When a tx is about to happen set confirms=0
3-Run a cron to loop thru every confirms>=0<minConfirms
4-With the above use RPC and do getbalance on the address
5-If balance is greater or less than balance field at SQL update balance field and confirms++
6-If needed keep increasing it until you achieve the minConfirms
I think you can also use blockchain which allows something like push notifications when a transaction happens.
Hope this helps