fix: PayPal webhook path, billing table migrations, diagnostics layout, error logging
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/5bfe8731-c37a-4f7b-a5c7-fbc0393ae134 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
19b32af973
commit
0fcdda2ee3
7 changed files with 531 additions and 81 deletions
|
|
@ -26,7 +26,11 @@ if (!$db) {
|
|||
if (!empty($_GET['home_id'])) $filter['home_id'] = intval($_GET['home_id']);
|
||||
if (!empty($_GET['payment_method'])) $filter['payment_method'] = trim($_GET['payment_method']);
|
||||
|
||||
$transactions = $repo->getTransactions($filter, 200, 0);
|
||||
try {
|
||||
$transactions = $repo->getTransactions($filter, 200, 0);
|
||||
} catch (Throwable $e) {
|
||||
$errorMsg = 'Could not load transactions: ' . htmlspecialchars($e->getMessage(), ENT_QUOTES, 'UTF-8');
|
||||
}
|
||||
mysqli_close($db);
|
||||
$db = null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue