I have made some modification to a usps module ( * @version $Id: usps.php 15881 2010-04-11 16:32:39Z wilt $) :

The idea was: if the cart total value is > than $50 then FREE SHIPPING.
If the weight is egual or less than 13 oz ( 0.82 lbs) than CALCULATE USPS.
If the weight grater than 13 oz ( 0.82 lbs) than $5 flat fee.

----------------------------
The lines are these:

line: 390 .
Code:
$cartShowTotal = $_SESSION['cart']->show_total();
		  $shipping_weight = $_SESSION['cart']->show_weight();
		
		  if (($cartShowTotal<=49.99) && ($shipping_weight>0.82)) 
		  {
		
		 
		  	$methods[] = array('id' => $type,
                             'title' => $title,
                                'cost' => ($cost *0 + 5) + 0*(MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_USPS_HANDLING * 0*$shipping_num_boxes : MODULE_SHIPPING_USPS_HANDLING) );	
		
		  }
	 if (($cartShowTotal<=49.99) && ($shipping_weight<=0.82)) 
		  {
		 
		  $methods[] = array('id' => $type,
                             'title' => $title,
                             'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_USPS_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_USPS_HANDLING) );
in function function _getQuote() :

line 412:
Code:
if ($cartShowTotal   < 50)  {
line 705 :
Code:
		
else
		{
		return -1 ;
Now the clients it getting the error stored in MODULE_SHIPPING_USPS_TEXT_ERROR for weight values between 0.1 and 0.89 lbs which is weird.
I don't see the problem ... and we are losing clients...
Please help.

Thanks!