<?php
require_once __DIR__ . '/../../public/vendor/autoload.php';
use App\Models\Setting;
$setting = new Setting();
$keys = [
    'payment_gateway_enabled',
    'paystack_enabled',
    'paystack_public_key',
    'paystack_secret_key',
    'hubtel_enabled',
    'hubtel_client_id',
    'hubtel_client_secret',
    'hubtel_merchant_account'
];
$out = [];
foreach ($keys as $k) {
    $v = $setting->getValue($k, null);
    $out[$k] = ($v === null || $v === '') ? "MISSING" : $v;
}
echo "Payment Gateway Settings:\n";
foreach ($out as $k => $v) {
    echo str_pad($k, 30) . ': ' . $v . "\n";
}
