eeks!
I am either really, really good or your are lucky as heck or the php v5.5 affects how this is done ...
Try changing the code for:
/includes/modules/shipping/usps.php
and add the code in RED:
Code:
$this->pounds = (int)$usps_shipping_weight;
// usps currently cannot handle more than 5 digits on international
// change to 2 if International rates fail based on Tare Settings
// $this->ounces = ceil(round(16 * ($usps_shipping_weight - $this->pounds), MODULE_SHIPPING_USPS_DECIMALS));
$this->ounces = zen_round($usps_shipping_weight, MODULE_SHIPPING_USPS_DECIMALS);
// Determine machinable or not
We will need a lot more testing by folks needing the USPS shipping module to really check this change I posted above as this is a hair's breath calculation change to work with USPS ...
Please test this and let us know if this really works or if there are still issues or different issues ... <insert prayers here>
Bookmarks