I have a international customer trying to order some small items that total .06lbs based off the item weights. When it checks USPS for rates this is returned..
Send: API=IntlRateV2&XML=<?xml version="1.0" encoding="UTF-8"?><IntlRateV2Request USERID="***********"><Package ID="0"><Pounds>0</Pounds><Ounces>0</Ounces><MailType>Package</MailType><ValueOfContents>13.50</ValueOfContents><Country>Australia</Country><Container></Container><Size>REGULAR</Size><Width>0</Width><Length>0</Length><Height>0</Height><Girth>0</Girth></Package></IntlRateV2Request>
Receive: <?xml version="1.0" encoding="UTF-8"?>
<IntlRateV2Response><Package ID="0"><Error><Number>-2147218043</Number><Source>;IntlRateV2.ProcessRequest</Source><Description>Unable to calculate international postage. No services available.
Unable to calculate international postage</Description><HelpFile/><HelpContext/></Error></Package></IntlRateV2Response>
I have minimum package weight set at 0 for usps but if I add a larger item to the order it returns rates fine. Why will it no calculate rates and shows 0 ounces when there should be .96 ounces? Did the weight conversion get messed up with the new changes to the API?
Issue with shipping calculator for USPS??
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
-
- Commodore (COMO)
- Posts: 436
- Joined: Tue May 07, 2013 1:59 pm
Re: Issue with shipping calculator for USPS??
This is a guess, because I have not used USPS, but since no one answered yet, I thought I might as well try to help .
Perhaps they have a min. weight of 1 oz? What happens if you set the min. weight to 0.0625 ( = 1/16 lb. = 1 oz.)?
Perhaps they have a min. weight of 1 oz? What happens if you set the min. weight to 0.0625 ( = 1/16 lb. = 1 oz.)?
Jay
Re: Issue with shipping calculator for USPS??
Tim,
Can you tell me how many items are in the basket, and how much each one weighs?
Thanks,
Katie
Can you tell me how many items are in the basket, and how much each one weighs?
Thanks,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: Issue with shipping calculator for USPS??
4 Items.. .01, .01, .02, .02 for weights.
Tim
Tim
Re: Issue with shipping calculator for USPS??
I created 4 items with the weights you specified above. I chose Australia for the country and the USPS international service was returned.
Here is the log entry -
Send: API=IntlRateV2&XML=<?xml version="1.0" encoding="UTF-8"?><IntlRateV2Request USERID="245ABLEC6623"><Package ID="0"><Pounds>0</Pounds><Ounces>1</Ounces><MailType>Package</MailType><ValueOfContents>4.00</ValueOfContents><Country>Australia</Country><Container></Container><Size>REGULAR</Size><Width>0</Width><Length>0</Length><Height>0</Height><Girth>0</Girth></Package></IntlRateV2Request>
I am using the default value for minimum package weight = 0.1
If I change it to 0, then I get your error -
Receive: <?xml version="1.0" encoding="UTF-8"?>
<IntlRateV2Response><Package ID="0"><Error><Number>-2147218043</Number><Source>;IntlRateV2.ProcessRequest</Source><Description>Unable to calculate international postage. No services available.
Unable to calculate international postage</Description><HelpFile/><HelpContext/></Error></Package></IntlRateV2Response>
So you need to change the minimum package weight back to the default value of 0.1 and it should start working.
(sigh of relief...I thought we may have had a bug)
Here is the log entry -
Send: API=IntlRateV2&XML=<?xml version="1.0" encoding="UTF-8"?><IntlRateV2Request USERID="245ABLEC6623"><Package ID="0"><Pounds>0</Pounds><Ounces>1</Ounces><MailType>Package</MailType><ValueOfContents>4.00</ValueOfContents><Country>Australia</Country><Container></Container><Size>REGULAR</Size><Width>0</Width><Length>0</Length><Height>0</Height><Girth>0</Girth></Package></IntlRateV2Request>
It looks like we rounded up to 1 ounce, which I believe is a new requirement for the updated API.should be .96 ounces
I am using the default value for minimum package weight = 0.1
If I change it to 0, then I get your error -
Receive: <?xml version="1.0" encoding="UTF-8"?>
<IntlRateV2Response><Package ID="0"><Error><Number>-2147218043</Number><Source>;IntlRateV2.ProcessRequest</Source><Description>Unable to calculate international postage. No services available.
Unable to calculate international postage</Description><HelpFile/><HelpContext/></Error></Package></IntlRateV2Response>
So you need to change the minimum package weight back to the default value of 0.1 and it should start working.
(sigh of relief...I thought we may have had a bug)
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: Issue with shipping calculator for USPS??
yup.. that fixed. Might want to put a note to not set to 0.
Thanks!!
Thanks!!