cancel
Showing results for 
Search instead for 
Did you mean: 

USPS Shipping Insurance Giving an Error -- please help

USPS Shipping Insurance Giving an Error -- please help

 Hello, 

 

I have a developer that has developed my ecommerce site using Magento 1.9. They are finished with everything except being able to integrate the USPS insurance with our site. They used the shipping API and it worked great. They've been trying to get the insurance to calculate based on the cart subtotal, but they keep getting an error. We have reached out to USPS since May 18th, but we're not getting any responses. 

 

Can someone please assist us or if there's a contact number to USPS webtools we'd really appreciate that?!

 

We are trying to use the developer center to add the insurance API to our website but we keep getting an error. Can you please assist us with this matter?
 

When we try to use the Shipping API we get below error. There is no way to pass insurance parameters other than special services. 

 

-2147221202Common:XmlParseThe element 'Package' has invalid child element 'SpecialServices'. List of possible elements expected: 'ReturnLocations, ReturnServiceInfo, DropOffTime, ShipDate, RatePriceType, RatePaymentType'.USPS

 

 

XML we used is  for API

 

 

<?xml version="1.0" encoding="UTF-8"?>

<RateV4Request USERID="990PRIVI7938"><Revision>2</Revision><Package ID="0"><Service>Priority Mail Express</Service><ZipOrigination>73301</ZipOrigination><ZipDestination>10118</ZipDestination><Pounds>1</Pounds><Ounces>0</Ounces><Container>VARIABLE</Container><Size>REGULAR</Size><Machinable>true</Machinable><SpecialServices><SpecialServices>1</SpecialServices></SpecialServices></Package></RateV4Request>