resultquery("SELECT * from OGP_DB_PREFIXbilling_carts WHERE cart_id= '". $_POST['cart_id'] . "'");
foreach($result as $cartID){
$paid = $cartID['paid'];
}
echo "
Processing your Payment Info ...
";
if($settings['debug']==1){
echo "
";
echo $_POST['count'];
echo "
";
echo $_POST['cart_id'];
echo "
";
echo $_POST['payment_status'];
echo "
";
}
//check the DB and see if its been updated as paid
if($paid > 0){
$loadpage = "?m=billing&p=create_servers";
}
//waited too long .. go to orders page
if($count > 5){
$loadpage = "?m=billing&p=orders";
echo "There was a Problem, Please contact Support ...
";
}
?>