Hello everybody!

I need to find a way to automatically calculate insurance rates for shippings and include this amount in the cost of the shipping. It would be great if insurance were just an option but it also acceptably if insurance were obligatory. Unfortunately USPS shipping module does not support insurance calculation. I saw the "Optional Shipping Insurance Module" which tackles the problem but it has hardcoded rates and customer sees the "insurance option" not in shipping context but at the Payment Information page. So it is not an ideal solution. Nevertheless thanks a lot to the authors for their work And now I think the only solution for me is to change usps module to support insurance rates. Is it potentially possible to extend USPS module in this way? I have faced the problem that USPS API considers insurance rates only for international shippings (node names are IntlRateRequest/Package/ValueOfContents and IntlRateResponse/Package/Service /Insurance) and it has no such nodes/attributes for domestic rates. Do you know why?

Thanks.