I wasn't sure if this is the right place to ask this, so please excuse me if it should be posted somewhere else.
I was trying to set up USPS rates to display at checkout via the Magento backend. So I signed up with USPS, got the API credentials and moved from their test server to their production server, but ran into a snag --- the USPS rates don't actually show up on my site.
The odd thing about it is, I decided to turn on Magento's USPS debugging to see if there were any errors, but didn't see any. I did discover, though, that whenever the checkout page is loaded, the USPS rates actually do seem to show up in the var/log/shipping_ups.log file. Here's a sample of what I'm seeing in the file:
2015-05-05T20:35:07+00:00 DEBUG (7): Array
(
[request] => <?xml version="1.0" encoding="UTF-8"?>
<RateV4Request USERID="MYUSERIDISHERE"><Revision>2</Revision><Package ID="0"><Service>ALL</Service><ZipOrigination>78666</ZipOrigination><ZipDestination>78249</ZipDestination><Pounds>10</Pounds><Ounces>9.6</Ounces><Container>VARIABLE</Container><Size>REGULAR</Size><Machinable>false</Machinable></Package></RateV4Request>
[result] => <?xml version="1.0" encoding="UTF-8"?>
<RateV4Response><Package ID="0"><ZipOrigination>78666</ZipOrigination><ZipDestination>78249</ZipDestination><Pounds>10</Pounds><Ounces>9.6</Ounces><Size>REGULAR</Size><Machinable>FALSE</Machinable><Zone>2</Zone><Postage CLASSID="3"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt;</MailService><Rate>38.20</Rate></Postage><Postage CLASSID="2"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Hold For Pickup</MailService><Rate>38.20</Rate></Postage><Postage CLASSID="55"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Flat Rate Boxes</MailService><Rate>44.95</Rate></Postage><Postage CLASSID="56"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Flat Rate Boxes Hold For Pickup</MailService><Rate>44.95</Rate></Postage><Postage CLASSID="13"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Flat Rate Envelope</MailService><Rate>19.99</Rate></Postage><Postage CLASSID="27"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Flat Rate Envelope Hold For Pickup</MailService><Rate>19.99</Rate></Postage><Postage CLASSID="30"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Legal Flat Rate Envelope</MailService><Rate>19.99</Rate></Postage><Postage CLASSID="31"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Legal Flat Rate Envelope Hold For Pickup</MailService><Rate>19.99</Rate></Postage><Postage CLASSID="62"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Padded Flat Rate Envelope</MailService><Rate>19.99</Rate></Postage><Postage CLASSID="63"><MailService>Priority Mail Express 1-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Padded Flat Rate Envelope Hold For Pickup</MailService><Rate>19.99</Rate></Postage><Postage CLASSID="1"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt;</MailService><Rate>13.00</Rate></Postage><Postage CLASSID="22"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Large Flat Rate Box</MailService><Rate>17.90</Rate></Postage><Postage CLASSID="17"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Medium Flat Rate Box</MailService><Rate>12.65</Rate></Postage><Postage CLASSID="28"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Small Flat Rate Box</MailService><Rate>5.95</Rate></Postage><Postage CLASSID="16"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Flat Rate Envelope</MailService><Rate>5.75</Rate></Postage><Postage CLASSID="44"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Legal Flat Rate Envelope</MailService><Rate>5.90</Rate></Postage><Postage CLASSID="29"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Padded Flat Rate Envelope</MailService><Rate>6.10</Rate></Postage><Postage CLASSID="38"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Gift Card Flat Rate Envelope</MailService><Rate>5.75</Rate></Postage><Postage CLASSID="42"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Small Flat Rate Envelope</MailService><Rate>5.75</Rate></Postage><Postage CLASSID="40"><MailService>Priority Mail 2-Day&lt;sup&gt;&#8482;&lt;/sup&gt; Window Flat Rate Envelope</MailService><Rate>5.75</Rate></Postage><Postage CLASSID="6"><MailService>Media Mail Parcel</MailService><Rate>7.41</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail Parcel</MailService><Rate>7.08</Rate></Postage></Package></RateV4Response>
[__pid] => 21417
)
It sort of looks like there might be a lot of strange html-entity codes showing up in the USPS rates that get returned, and I was wondering if that might be the source of the issue I'm running into, and if there might be a way to address it. If not though, I was wondering where I might want to look or what I might want to try doing in order to try and fix the problem.
Any help y'all can give on fixing this particular issue would be really awesome, thanks!
Do you ship from or to canada? Then you may need to patch your magento.
Hi,
We're having a similar problem, do you mind expanding on this. We're trying to get the shipping rates to show for Canada.
As part of the debug process we have found that the USPS module is returning a potential error in the requirements of the shipping. The error log is below. Can you please clarify what may be happening in terms of this error and advise if there are any changes that need to be made to allow the shipping rates to feed through.
016-01-18T06:54:36+00:00 DEBUG (7): Array
(
[request] => <?xml version="1.0" encoding="UTF-8"?>
<IntlRateV2Request USERID="070N2ZGL2898"><Revision>2</Revision><Package ID="0"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><ValueOfContents>46</ValueOfContents><Country>Canada</Country><Container>VARIABLE</Container><Size>REGULAR</Size><Width></Width><Length></Length><Height></Height><Girth></Girth></Package></IntlRateV2Request>
[result] => <?xml version="1.0" encoding="UTF-8"?>
<IntlRateV2Response><Package ID="0"><Prohibitions>An issue of a publication in which more than 5 percent of its total advertising space is primarily directed to a Canadian market and which indicates:
(a) Specifically where goods or services may be obtained in Canada, or
(b) Specific items or conditions relating to the sale or provision of goods or services in Canada.
All alcoholic beverages including wines, etc.
An issue of a publication that contains an advertisement primarily directed to a Canadian market is a prohibited import if that advertisement does not appear in identical form in all editions of the issue distributed in the country of origin.
Articles so marked as to create the false impression that they were made in Canada, Great Britain or any other British country.
Commercial tags of metal.
Firearms, except as follows: Firearms may be mailed to Canada provided that they meet the requirements in DMM 601.11.1, 601.11.2, 601.11.3, and 601.11.6 and that the importer has the required documentation. Customers must visit http://cbsa-asfc.gc.ca/publications/pub/bsf5044-eng.html prior to mailing for Canadian import requirements.
Gold bullion, gold dust, and nonmanufactured precious metals.
Non-refillable lighters or any other lighter that contains fuel. New lighters with no fuel may be sent.
Oleomargarine and other butter substitutes, including altered or renovated butter.
Perishable infectious biological substances.
Perishable noninfectious biological substances.
Plumage and skins of wild birds.
Prison-made goods being sold or intended for sale by a person or firm.
Radioactive materials.
Replica or inert munitions, as well as other devices that simulate explosive devices or munitions, including replica or inert grenades or other simulated military munitions, whether or not such items are for display purposes.
Reprints of Canadian or British works copyrighted in Canada.
Reproductions of Canadian postage stamps unless printed in publications in black and white only and with a defacing line drawn across each reproduction.
Shipments bearing caution labels indicating the contents are flammable.
Smoke-making devices for motor vehicles and boats.
Used or secondhand hives or bee supplies.</Prohibitions><Restrictions>Coins; banknotes; currency notes; securities payable to bearer; traveler's checks; gold, silver, platinum, manufactured or not; jewelry; and other valuable articles may be sent only in registered items.
Exceptions:
Coins sent to or from collectors or dealers may be mailed in ordinary (uninsured) parcels.
Drugs and medicines must comply with Canadian law.
Eggs for hatching must be packed in new, clean containers and accompanied by a certificate issued by a veterinarian of the U.S. Department of Agriculture, or one issued by a State veterinarian and endorsed by a veterinarian of that Bureau, stating that to the best of his or her knowledge the eggs come from a flock that is free from Newcastle disease, fowl pest, or fowl typhoid. See 135.3 for method of packing.
Meat and meat food products must be accompanied by an export certificate issued by the U.S. Department of Agriculture and labeled in accordance with Canadian regulations. Exception to these requirements are:
Precious stones, set or not set; all items used as dress ornaments and coming under the term "jewelry" including articles of gold or other precious metal for personal use such as cigarette holders, cases, powder cases, card cases, opera glasses, fountain pens, watches, etc., are permitted in insured parcels provided the articles have value not over $5 U.S. A parcel containing a number of such articles valued at $5 or less may be insured for the total value of the contents up to a maximum of $200.
Veterinary biological products including serums and vaccines must be accompanied by a permit issued by the Veterinary Director General, Ministry of Agriculture of Canada.</Restrictions><Observations>1. Electronic smoking products (i.e., electronic products for the vaporization and administration of inhaled doses of nicotine including electronic cigarettes, cigars, cigarillos, and pipes, as well as cartridges of nicotine solutions and related products) require market authorization by Department of Health Canada prior to being imported. Failure to obtain this authorization will result in the items being refused entry by Canada Border Services Agency (CBSA). For additional information, refer to the Department of Health Canada website at http://www.hc-sc.gc.ca/dhp-mps/prodpharma/applic-demande/pol/notice_avis_e-cig-eng.php.
Bees, postage stamps (canceled and uncanceled) and albums in which they are mounted, and parcels addressed to CFPOs.
(a) NUMBER, RANK, NAME UNIT
(b) CFPO (NUMBER)
(c) BELLEVILLE ON K0K 3R0
(d) CANADA
Maximum weight limits for mail addressed to members of the Canadian Forces based outside of Canada (CFPO) is 22 pounds. Parcels for CFPO addresses may not be insured. Direct sacks of printed matter (M-bags) are not permitted for CFPO addresses.
Obtaining post code information:
(a) NATIONAL PHILATELIC CENTER
CANADA POST CORPORATION
STATION 1
ANTIGONISH NS B2G 2R8
Telephone: 1-800-565-4362
Fax: 1-902-863-6796
(b) To obtain Canadian post codes for specific addresses, call the General Information line at 1-416-979-8822 or access the Canada Post Corporation web site on the Internet at http://www.canadapost.ca.
PS Form 2976 (see 123.61)
Priority Mail International parcels:
PS Form 2976-A inside 2976-E (envelope)</CustomsForms><ExpressMail>Country Code:
CA
Reciprocal Service Name:
There is no reciprocal service.
Required Customs Form/Endorsement
PS Form 2976-B placed inside PS Form 2976-E (plastic envelope).
PS Form 2976-B placed inside PS Form 2976-E (plastic envelope).
PS Form 2976-B placed inside PS Form 2976-E (plastic envelope).
Notes:
Areas Served: All</ExpressMail><AreasServed>Please reference Express Mail for Areas Served.</AreasServed><AdditionalRestrictions>No Additional Restrictions Data found.</AdditionalRestrictions><Service ID="12"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>85.30</Postage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><SvcCommitments>1 - 3 business days to many major markets</SvcCommitments><SvcDescription>USPS GXG&lt;sup&gt;&#8482;&lt;/sup&gt; Envelopes</SvcDescription><MaxDimensions>USPS-Produced regular size cardboard envelope (12-1/2" x 9-1/2"), the legal-sized cardboard envelope (15" x 9-1/2") and the GXG Tyvek envelope (15-1/2" x 12-1/2")</MaxDimensions><MaxWeight>70</MaxWeight></Service><Service ID="1"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>59.00</Postage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><SvcCommitments>3 - 5 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail Express International&lt;sup&gt;&#8482;&lt;/sup&gt;</SvcDescription><MaxDimensions>Max. length 42", max. length plus girth combined 79"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="10"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>41.50</Postage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><SvcCommitments>3 - 5 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail Express International&lt;sup&gt;&#8482;&lt;/sup&gt; Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 12-1/2" x 9-1/2"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="17"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>41.50</Postage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><SvcCommitments>3 - 5 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail Express International&lt;sup&gt;&#8482;&lt;/sup&gt; Legal Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 15" x 9-1/2"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="27"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>41.50</Postage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><SvcCommitments>3 - 5 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail Express International&lt;sup&gt;&#8482;&lt;/sup&gt; Padded Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 12-1/2" x 9-1/2"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="11"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>59.95</Postage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Large Flat Rate Box</SvcDescription><MaxDimensions>USPS-Produced Box: 23-11/16" x 11-3/4" x 3" or 12" x 12" x 5-1/2"<br>Maximum weight 20 pounds.</MaxDimensions>
<MaxWeight>20</MaxWeight></Service><Service ID="9"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>45.95</Postage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Medium Flat Rate Box</SvcDescription><MaxDimensions>USPS-Produced Box: 13-5/8" x 11-7/8" x 3-3/8" or 11" x 8-1/2" x 5-1/2"<br>Maximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service><Service ID="16"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>24.95</Postage><ExtraServices><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Small Flat Rate Box</SvcDescription><MaxDimensions>USPS-Produced Box: 8-5/8" x 5-3/8" x 1-5/8"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="24"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>24.95</Postage><ExtraServices><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; DVD Flat Rate priced box</SvcDescription><MaxDimensions>USPS-Produced Box: 7-9/16" x 5-7/16" x 5/8"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="25"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>24.95</Postage><ExtraServices><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Large Video Flat Rate priced box</SvcDescription><MaxDimensions>USPS-Produced Box: 9-1/4" x 6-1/4" x 2"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="8"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>23.95</Postage><ExtraServices><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 12-1/2" x 9-1/2"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="22"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>23.95</Postage><ExtraServices><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Legal Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 15" x 9-1/2"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="23"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>23.95</Postage><ExtraServices><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Padded Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 12-1/2" x 9-1/2"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="18"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>23.95</Postage><ExtraServices><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Gift Card Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 10" x 7"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="20"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>23.95</Postage><ExtraServices><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Small Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 10" x 6"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="19"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>23.95</Postage><ExtraServices><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days to many major markets</SvcCommitments><SvcDescription>Priority Mail International&lt;sup&gt;&#174;&lt;/sup&gt; Window Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 10" x 5" or 12-1/2" x 9-1/2"<br>Maximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="14"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>19.04</Postage><ExtraServices><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>Varies by destination</SvcCommitments><SvcDescription>First-Class Mail&lt;sup&gt;&#174;&lt;/sup&gt; International Large Envelope</SvcDescription><MaxDimensions>Max. length 15", height 12" or thickness 3/4"</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="15"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>36.50</Postage><ExtraServices><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>13.95</Price></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>46.00</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>Varies by destination</SvcCommitments><SvcDescription>First-Class Package International Service&lt;sup&gt;&#8482;&lt;/sup&gt;</SvcDescription><MaxDimensions>Other than rolls: Max. length 24", max length, height and depth (thickness) combined 36"<br>Rolls: Max. length 36". Max length and twice the diameter combined 42"</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="2"><Pounds>4</Pounds><Ounces>0</Ounces><MailType>All</MailType><Container>VARIABLE</Container><Size>REGULAR</Size><Width>0.0</Width><Length>0.0</Length><Height>0.0</Height><Girth>0.0</Girth><Country>CANADA</Country><Postage>0.00</Postage><ExtraServices><ExtraService><ServiceID/><ServiceName/><Available>False</Available><Price/></ExtraService></ExtraServices><ServiceErrors><ServiceError><Id>50050</Id><Description>The Origin ZIP Code and the Destination Postal Code is required for Priority Mail International when mailing to Canada.</Description></ServiceError></ServiceErrors></Service></Package></IntlRateV2Response>
[__pid] => 27171
@Mukesh Tiwari Can you elaborate? I am having this problem as well and need to fix for shipping to Canada.
Hi @mswaidan
Which version of Magento are you using?
Please refer following urls SUPEE-6237 and USPS API Update May 31st 2015 – What you need to know
Are you facing issues with shipping to Canada only? Could you try to enable the logging in the USPS shipping setting and check the entries in the file created under var/log folder.