estimator log fix
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user