add price log

This commit is contained in:
O K
2025-12-07 23:40:01 +02:00
parent 428e24f961
commit 89111d6e1e

View File

@@ -2,6 +2,7 @@
if (!defined('_PS_VERSION_')) { if (!defined('_PS_VERSION_')) {
exit; exit;
} }
use Symfony\Component\HttpClient\HttpClient; use Symfony\Component\HttpClient\HttpClient;
@@ -267,6 +268,7 @@ class Usps_Api_Bridge extends Module
return false; return false;
} }
} }
$this->log("API Response price: " . $response['totalBasePrice']);
// Add handling fees if any from original module logic // Add handling fees if any from original module logic
return $totalPrice + $shipping_cost; return $totalPrice + $shipping_cost;