Ah, comparing my old USPS module with the Ridex version, I found that it did NOT send the total value to the USPS API, so USPS would return a zero insurance cost (domestic, only!)
So, line 352 looked like :
'<Size>REGULAR</Size>' .
'<Machinable>TRUE</Machinable>' .
I added a line, so it now looks like :
'<Size>REGULAR</Size>' .
'<Value>' . ($order->info['subtotal']) . '</Value>' .
'<Machinable>TRUE</Machinable>' .
And, now the rate comes back with insurance added!
Jon
Bookmarks