feat: payment status badge in listing-card, webhook debug info, UX fixes

This commit is contained in:
2026-02-06 15:22:48 +01:00
parent d9202f9ca2
commit a532fa120f
6 changed files with 114 additions and 8 deletions

View File

@@ -27,7 +27,14 @@ $invoiceId = $payload['invoiceId'] ?? null;
if (!$type || !$invoiceId) {
http_response_code(400);
echo json_encode(['error' => 'Missing type or invoiceId']);
echo json_encode([
'error' => 'Missing type or invoiceId',
'received' => [
'type' => $type,
'invoiceId' => $invoiceId,
'keys' => array_keys($payload ?: []),
],
]);
exit;
}