News:

Support the VirtueMart project and become a member

Main Menu

USPS Shipping Module - Charging too much

Started by UnMortal, January 11, 2010, 23:03:50 PM

Previous topic - Next topic

UnMortal

I have the USPS 4.1 shipping module installed. The module works but it seems like its charging customers way too much. For example If I add a sew on patch weighing 0.0250 pounds boxed, here are my USPS module shipping prices:

USPS Express Mail ($14.15)
USPS Priority Mail ($5.40)
USPS Parcel Post ($5.40)

The problem is when we go to actually send this item it costs closer to 50 cents to ship. What is my problem? I've also tried the 5.2 module, it gives me the same results.

lowmips

how are your product weights set up? what UOM?
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)

Sehanine74

I am having the same problem with international shipping. Domestic shipping seems to be ok. Any suggestions?

lowmips

Put your shop in debug mode.  Post your findings here.
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)

Sehanine74

I'm sorry, but I don't understand. I checked the debug option in the back end, but I'm not sure what information you need. Do I need to place a mock international order? At what step do I copy the debug info? This is a live site, so I am a little hesitant to have it in debug mode.

Thanks in advance :)

lowmips

You should be able to limit debug output to an IP address. I know there were bugs in VM113 about that, but I think it works now in VM114.

What I'm looking for is the actual XML request and reply to and from USPS.  This will tell us the weights and other information that is being passed, so we can debug.

Be sure to remove your USPS credentials from the output before posting any debug details.
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)

corbincdc

#6
I am having the same Problem. All of my items are .5 ou. using usps 4.1

charging:


USPS Express Mail ($15.90)
USPS Priority Mail ($4.95)

xml post:
http://production.shippingapis.com/ShippingAPI.dll?API=RateV3&XML=<RateV3Request USERID=" PASSWORD="><Package ID="0"><Service>All</Service><ZipOrigination>50014</ZipOrigination><ZipDestination>50014</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Size>REGULAR</Size><Machinable>FALSE</Machinable></Package></RateV3Request

xml request:
<?xml version="1.0"?>
<RateV3Response><Package ID="0"><ZipOrigination>50014</ZipOrigination><ZipDestination>650014</ZipDestination><Pounds>0</Pounds><Ounces>5</Ounces><Size>REGULAR</Size><Machinable>FALSE</Machinable><Zone>3</Zone><Postage CLASSID="3"><MailService>Express Mail</MailService><Rate>15.90</Rate></Postage><Postage CLASSID="13"><MailService>Express Mail Flat Rate Envelope</MailService><Rate>18.30</Rate></Postage><Postage CLASSID="1"><MailService>Priority Mail</MailService><Rate>4.95</Rate></Postage><Postage CLASSID="16"><MailService>Priority Mail Flat Rate Envelope</MailService><Rate>4.90</Rate></Postage><Postage CLASSID="28"><MailService>Priority Mail Small Flat Rate Box</MailService><Rate>4.95</Rate></Postage><Postage CLASSID="17"><MailService>Priority Mail Medium Flat Rate Box</MailService><Rate>10.70</Rate></Postage><Postage CLASSID="22"><MailService>Priority Mail Large Flat Rate Box</MailService><Rate>14.50</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail Flat</MailService><Rate>1.90</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail Parcel</MailService><Rate>1.90</Rate></Postage><Postage CLASSID="4"><MailService>Parcel Post</MailService><Rate>4.90</Rate></Postage><Postage CLASSID="5"><MailService>Bound Printed Matter</MailService><Rate>2.37</Rate></Postage><Postage CLASSID="6"><MailService>Media Mail</MailService><Rate>2.38</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail</MailService><Rate>2.26</Rate></Postage></Package></RateV3Response>

Sehanine74

Thank you so much!!! For 1 5oz item, shipping to Canada, it is charging $20, and only offering 1 shipping option (USPS Priority Mail International)....grrrrr. I hope this is the info you need:

http://production.shippingapis.com/ShippingAPI.dll?API=IntlRate&XML=<IntlRateRequest USERID="_" PASSWORD="_"><Package ID="0"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>Canada</Country></Package></IntlRateRequest>


<?xml version="1.0"?>
<IntlRateResponse><Package ID="0"><Prohibitions>(removed prohibitions so it wouldn't be such a large post)
Areas Served: All</ExpressMail><AreasServed>Please reference Express Mail for Areas Served.</AreasServed><Service ID="4"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>1 - 3 Days</SvcCommitments><SvcDescription>Global Express Guaranteed (GXG)</SvcDescription><MaxDimensions>Max. length 46", width 35", height 46" and max. length plus girth combined 108"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="6"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>1 - 3 Days</SvcCommitments><SvcDescription>Global Express Guaranteed Non-Document Rectangular</SvcDescription><MaxDimensions>Max. length 46", width 35", height 46" and max. length plus girth combined 108"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="7"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>1 - 3 Days</SvcCommitments><SvcDescription>Global Express Guaranteed Non-Document Non-Rectangular</SvcDescription><MaxDimensions>Max. length 46", width 35", height 46" and max. length plus girth combined 108"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="12"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>1 - 3 Days</SvcCommitments><SvcDescription>USPS GXG Envelopes</SvcDescription><MaxDimensions>Cardboard envelope has a dimension of 9 1/2" X 12 1/2" and GXG tyvek envelope has a dimension of 12 1/2" X 15 1/2"</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="1"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>26.95</Postage><SvcCommitments>5 Days</SvcCommitments><SvcDescription>Express Mail International</SvcDescription><MaxDimensions>Max. length 42", max. length plus girth combined 79"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="10"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>26.95</Postage><SvcCommitments>5 Days</SvcCommitments><SvcDescription>Express Mail International Flat Rate Envelope</SvcDescription><MaxDimensions>USPS Supplied Envelope: 9 1/2" x 12 1/2"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="2"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>20.00</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International</SvcDescription><MaxDimensions>Maximum length and girth combined 108"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="11"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>33.95</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International Large Flat Rate Box</SvcDescription><MaxDimensions>USPS Supplied Large Box: 12" x 12" x 5 1/2". Maximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service><Service ID="9"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>26.95</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International Medium Flat Rate Box</SvcDescription><MaxDimensions>USPS Supplied Medium Box: 13 5/8" x 11 7/8" x 3 3/8" or 11" x 8 1/2" x 5 1/2". Maximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service><Service ID="16"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>11.45</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International Small Flat Rate Box</SvcDescription><MaxDimensions>USPS Supplied Small Box: 8 5/8" x 5 3/8" x 1 5/8". Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="8"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>11.45</Postage><SvcCommitments>6 - 10 Days</SvcCommitments><SvcDescription>Priority Mail International Flat Rate Envelope</SvcDescription><MaxDimensions>USPS Supplied Envelope: 9 1/2" x 12 1/2". Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="15"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>2.27</Postage><SvcCommitments>Varies</SvcCommitments><SvcDescription>First-Class Mail International Package</SvcDescription><MaxDimensions>Other than rolls: Max. length 24", max length, height and depth (thickness) combined 36" Rolls: Max. length 36". Max length and twice the diameter combined 42"</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="14"><Pounds>0</Pounds><Ounces>5</Ounces><MailType>Package</MailType><Country>CANADA</Country><Postage>2.07</Postage><SvcCommitments>Varies</SvcCommitments><SvcDescription>First-Class Mail International Large Envelope</SvcDescription><MaxDimensions>Max. length 15", height 12" or thickness 3/4"</MaxDimensions><MaxWeight>4</MaxWeight></Service></Package></IntlRateResponse>

lowmips

corbincdc:
Your .5 oz items are being translated as 5 oz.  Contact the USPSv4.1 author.
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)

lowmips

Sehanine74:
The rate returned looks fine.  If it is higher than what USPS actually charges you for a 5oz package to Canada, you might need to contact USPS to determine why.  As for only showing one shipping option, what options do you have selected in the module configuration? Do you see any of those in the XML reply? If you have selected more options but they do not show up in the XML reply, then they are unavailable.  If you have selected more options and they DO show up in the XML reply, then there is probably a bug ;)
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)

UnMortal

#10
Sorry I'm a little late to the party here. Here is my Debug Data. This is for a sticker with a weight of 0.025 pounds and it tell me it gonna cost $5.40 USPS Priority Mail. Shipping module: uspsv4.1 supporting USPS API v3. And if I recall correctly I get the same results on v5.2009.10.03

XML Post:
Quotehttp://production.shippingapis.com/ShippingAPI.dll?API=RateV3&XML=<RateV3Request USERID="**********" PASSWORD="***********"><Package ID="0"><Service>All</Service><ZipOrigination>93534</ZipOrigination><ZipDestination>93534</ZipDestination><Pounds>0</Pounds><Ounces>1</Ounces><Size>REGULAR</Size><Machinable>FALSE</Machinable></Package></RateV3Request>
XML Result:
Quote<?xml version="1.0"?>
<RateV3Response><Package ID="0"><ZipOrigination>93534</ZipOrigination><ZipDestination>93534</ZipDestination><Pounds>0</Pounds><Ounces>1</Ounces><Size>REGULAR</Size><Machinable>FALSE</Machinable><Zone>1</Zone><Postage CLASSID="2"><MailService>Express Mail Hold For Pickup</MailService><Rate>13.65</Rate></Postage><Postage CLASSID="27"><MailService>Express Mail Flat Rate Envelope Hold For Pickup</MailService><Rate>18.30</Rate></Postage><Postage CLASSID="3"><MailService>Express Mail</MailService><Rate>13.65</Rate></Postage><Postage CLASSID="13"><MailService>Express Mail Flat Rate Envelope</MailService><Rate>18.30</Rate></Postage><Postage CLASSID="1"><MailService>Priority Mail</MailService><Rate>4.90</Rate></Postage><Postage CLASSID="16"><MailService>Priority Mail Flat Rate Envelope</MailService><Rate>4.90</Rate></Postage><Postage CLASSID="28"><MailService>Priority Mail Small Flat Rate Box</MailService><Rate>4.95</Rate></Postage><Postage CLASSID="17"><MailService>Priority Mail Medium Flat Rate Box</MailService><Rate>10.70</Rate></Postage><Postage CLASSID="22"><MailService>Priority Mail Large Flat Rate Box</MailService><Rate>14.50</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail</MailService><Rate>0.64</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail Flat</MailService><Rate>1.22</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail Parcel</MailService><Rate>1.22</Rate></Postage><Postage CLASSID="4"><MailService>Parcel Post</MailService><Rate>4.90</Rate></Postage><Postage CLASSID="5"><MailService>Bound Printed Matter</MailService><Rate>2.33</Rate></Postage><Postage CLASSID="6"><MailService>Media Mail</MailService><Rate>2.38</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail</MailService><Rate>2.26</Rate></Postage></Package></RateV3Response>

lowmips

UnMortal:
Your item is being processed as 1 oz.  The rate returned is $4.90, so the module must be padding a bit to get the $5.40.
Visit my website at www.lowmips.com
View my newsletters Here (sign up for newsletters on the front page of my website)

kidd

Hello, I know its been ages since... but since i am new to the community, I just found the problem now so did you guys found any fix or solution to this high cost international shipping?

I am pretty much having the same problem. (using module 4.2 with with VirtueMart v1.1.5 and Joomla v 1.5.20

I was so happy to get this thing working after few days of trying many things and trying to figure out.  Finally I got this to work and with the U.S, I was happy with the result, but for international specially for United Kingdom even so England and even more so London etc... ;D.  I am just shipping poster that is about 13 inch by 19.  The thing is not even one pound even though thats how i set.  Yet its showing "USPS Priority Mail International ($28.00)".  No way.  That's too much.  Any help please.

Stonedfury

I shipped (on the USPS site) a 2 ounce priority mail envelope to Canada from work and it was 10.88. The prices do jump up a lot when international.
No such thing as a stupid question, only a stupid answer. I won't ask if I know the answer or found it using the search as you suggested.