<?php
require_once 'config.php';
require_once 'includes/kindamba.php';

$key = 'pk_live_f4795b429092469acc72b89300740035';
$tran_id = file_get_contents('last_test_id.txt');

if (!$tran_id) {
    die("No transaction ID found.");
}

echo "Checking status for transaction: $tran_id\n";
$status_result = kindamba_verify_status($tran_id, $key);
echo "Status Result:\n";
print_r($status_result);
?>
