From c522ae9d1005ca2e39b8d6b7837f67054975477e Mon Sep 17 00:00:00 2001 From: Mauricio Astudillo Toledo Date: Wed, 13 Nov 2024 14:10:21 -0300 Subject: [PATCH] feat: add field key for status payload params in log --- plugin/src/Controllers/TransactionStatusController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/Controllers/TransactionStatusController.php b/plugin/src/Controllers/TransactionStatusController.php index 8431967..3064685 100644 --- a/plugin/src/Controllers/TransactionStatusController.php +++ b/plugin/src/Controllers/TransactionStatusController.php @@ -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));