feat: payment status badge in listing-card, webhook debug info, UX fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user