Skip to content

Commit

Permalink
feat: add field key for status payload params in log
Browse files Browse the repository at this point in the history
  • Loading branch information
mastudillot committed Nov 13, 2024
1 parent f384083 commit c522ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/Controllers/TransactionStatusController.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function getStatus(): void
$token = $this->getSecureInputValue('token');

$requestMethod = $_SERVER['REQUEST_METHOD'];
$params = [$orderId, $buyOrder, $token];
$params = ['orderId' => $orderId, 'buyOrder' => $buyOrder, 'token' => $token];

$this->logger->logDebug("Request: method -> $requestMethod");
$this->logger->logDebug('Request: payload -> ' . json_encode($params));
Expand Down

0 comments on commit c522ae9

Please sign in to comment.