From 187ee1454971991a6380aba1ebbd915fe127efda Mon Sep 17 00:00:00 2001 From: O K Date: Wed, 21 Jan 2026 09:49:37 +0200 Subject: [PATCH] estimator log fix --- usps_api_bridge.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usps_api_bridge.php b/usps_api_bridge.php index 66eea77..e59c323 100644 --- a/usps_api_bridge.php +++ b/usps_api_bridge.php @@ -199,7 +199,10 @@ class Usps_Api_Bridge extends Module $isEstimator = (Tools::getValue('module') === 'zh_uspslabels' && Tools::getValue('controller') === 'carrier'); if ($isEstimator) { // Prioritize POST data from the widget - $this->externalLog(['Estimator' => ['response' => $response]]); + $this->externalLog(['Estimator' => [ + 'postcode' => Tools::getValue('postcode'), + 'id_country' => Tools::getValue('id_country'), + ]]); if (Tools::getIsset('postcode')) { $destZip = Tools::getValue('postcode');