Jump to content

[Resolved] Postage - USPS


Recommended Posts

I'm trying to set up the USPS plug-in.  I must be not filling in something right.  For all my products, I enter a weight.  But when i try to start a transaction in the shopping cart I get the following error:

"The following errors were detected: Unfortunately there are no suitable shipping methods available for your order. This may be because the total weight of your order is too high or we cannot ship to your country. Please contact a member of our staff for any further inquiries"

We will be shipping vinyl stickers, shirts, sweatshirts.  So, some of the products that are shipped out won't be heavy, unless the customer orders a lot.

Link to comment
Share on other sites

Welcome SuperchargedDesigns! Glad to see you made it to the forums.

"No suitable methods...this may be because..." is a catch-all message.

Let's start by examining the log. In admin, Request Log, the USPS Rate Request and Response will be logged there.

If the Response says something like, "You don't have an account with USPS," then we will discuss what you need to do to get an account such that you have permission to access the USPS Web Rate Request API. This is a different login than what you initially created to sign up as a merchant customer with the USPS.

Link to comment
Share on other sites

All i can make of the request log is that the response has been received.

Here's a copy of the last two in the request log:

Yesterday, 23:01
Request Sent - http://production.shippingapis.com/ShippingAPI.dllAPI=RateV4&XML=<RateV4Request USERID="superchargeddesigns"> <Package ID="0"> <Service>ALL</Service> <ZipOrigination>48813</ZipOrigination> <ZipDestination>48813</ZipDestination> <Pounds>0</Pounds> <Ounces>10</Ounces> <Container>VARIABLE</Container> <Size>REGULAR</Size> <Machinable>False</Machinable> <ReturnLocations>TRUE</ReturnLocations> </Package> </RateV4Request>
Response received<?xml version="1.0" encoding="UTF-8"?> <Error><Number>80040B1A</Number><Description>Username exceeds maximum length.</Description><Source>USPSCOM::DoAuth</Source></Error>
Yesterday, 23:01
Request Sent - http://production.shippingapis.com/ShippingAPI.dllAPI=RateV4&XML=<RateV4Request USERID="superchargeddesigns"> <Package ID="0"> <Service>ALL</Service> <ZipOrigination>48813</ZipOrigination> <ZipDestination>48813</ZipDestination> <Pounds>0</Pounds> <Ounces>10</Ounces> <Container>VARIABLE</Container> <Size>REGULAR</Size> <Machinable>False</Machinable> <ReturnLocations>TRUE</ReturnLocations> </Package> </RateV4Request>
Response received<?xml version="1.0" encoding="UTF-8"?> <Error><Number>80040B1A</Number><Description>Username exceeds maximum length.</Description><Source>USPSCOM::DoAuth</Source></Error>
Link to comment
Share on other sites

This is what a normal USPS log entry looks like.

 
Request Sent - http://production.shippingapis.com/ShippingAPI.dll API=RateV4&XML=<RateV4Request USERID="XXXXX"> <Package ID="0"> <Service>ALL</Service> <ZipOrigination>35178</ZipOrigination> <ZipDestination>92704</ZipDestination> <Pounds>0</Pounds> <Ounces>4</Ounces> <Container>VARIABLE</Container> <Size>REGULAR</Size> <Machinable>True</Machinable> <ReturnLocations>TRUE</ReturnLocations> </Package> </RateV4Request>
Response received <?xml version="1.0" encoding="UTF-8"?> <RateV4Response><Package ID="0"><ZipOrigination>35178</ZipOrigination><ZipDestination>92704</ZipDestination><Pounds>0</Pounds><Ounces>4</Ounces><Size>REGULAR</Size><Machinable>TRUE</Machinable><Zone>7</Zone><Postage CLASSID="3"><MailService>Priority Mail Express 1-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt;</MailService><Rate>29.25</Rate></Postage><Postage CLASSID="2"><MailService>Priority Mail Express 1-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Hold For Pickup</MailService><Rate>29.25</Rate></Postage><Postage CLASSID="13"><MailService>Priority Mail Express 1-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Flat Rate Envelope</MailService><Rate>22.95</Rate></Postage><Postage CLASSID="27"><MailService>Priority Mail Express 1-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Flat Rate Envelope Hold For Pickup</MailService><Rate>22.95</Rate></Postage><Postage CLASSID="30"><MailService>Priority Mail Express 1-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Legal Flat Rate Envelope</MailService><Rate>22.95</Rate></Postage><Postage CLASSID="31"><MailService>Priority Mail Express 1-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Legal Flat Rate Envelope Hold For Pickup</MailService><Rate>22.95</Rate></Postage><Postage CLASSID="62"><MailService>Priority Mail Express 1-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Padded Flat Rate Envelope</MailService><Rate>22.95</Rate></Postage><Postage CLASSID="63"><MailService>Priority Mail Express 1-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Padded Flat Rate Envelope Hold For Pickup</MailService><Rate>22.95</Rate></Postage><Postage CLASSID="1"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt;</MailService><Rate>7.30</Rate></Postage><Postage CLASSID="22"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Large Flat Rate Box</MailService><Rate>18.75</Rate></Postage><Postage CLASSID="17"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Medium Flat Rate Box</MailService><Rate>13.45</Rate></Postage><Postage CLASSID="28"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Small Flat Rate Box</MailService><Rate>6.80</Rate></Postage><Postage CLASSID="16"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Flat Rate Envelope</MailService><Rate>6.45</Rate></Postage><Postage CLASSID="44"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Legal Flat Rate Envelope</MailService><Rate>6.45</Rate></Postage><Postage CLASSID="29"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Padded Flat Rate Envelope</MailService><Rate>6.80</Rate></Postage><Postage CLASSID="38"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Gift Card Flat Rate Envelope</MailService><Rate>6.45</Rate></Postage><Postage CLASSID="42"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Small Flat Rate Envelope</MailService><Rate>6.45</Rate></Postage><Postage CLASSID="40"><MailService>Priority Mail 2-Day&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt; Window Flat Rate Envelope</MailService><Rate>6.45</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail&amp;lt;sup&amp;gt;&amp;#174;&amp;lt;/sup&amp;gt; Parcel</MailService><Rate>2.64</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail&amp;lt;sup&amp;gt;&amp;#174;&amp;lt;/sup&amp;gt; Large Envelope</MailService><Rate>1.57</Rate></Postage><Postage CLASSID="4"><MailService>USPS Retail Ground&amp;lt;sup&amp;gt;&amp;#8482;&amp;lt;/sup&amp;gt;</MailService><Rate>7.29</Rate></Postage><Postage CLASSID="6"><MailService>Media Mail Parcel</MailService><Rate>2.61</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail Parcel</MailService><Rate>2.48</Rate></Postage></Package></RateV4Response>
 
Please notice that yours has an error concerning User ID length. Have you setup your USPS account? Without that, the plugin doesn't get very far in communicating with the USPS server.
 
Link to comment
Share on other sites

Getting a USPS-issued username for accessing the APIs will initially assign you to using their sandbox to test things.

All you need to do is to verify that CubeCart gets a Rate Response (even though the values may be wrong). Then you submit another email back to the same place that sent you your username requesting USPS to switch you over to their "production server".

 

Link to comment
Share on other sites

  • 5 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...