add price log
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user