Magento 1.8 - 此送货方式目前不可用
Magento 1.8 - This shipping method is currently unavailable
我的 USPS 结账方式有问题,我有这个错误:
目前无法使用此送货方式。如果您想使用这种送货方式送货,请联系我们。
我打了SUPEE-10336补丁也是一样,然后我在扩展中打开调试,结果是这样的:
2017-10-05T19:50:26+00:00 DEBUG (7): Array
(
[request] => <?xml version="1.0" encoding="UTF-8"?>
<IntlRateV2Request USERID="662THEAF7311"><Revision>2</Revision><Package ID="0"><Pounds>0</Pounds><Ounces>2.8</Ounces><MailType>All</MailType><ValueOfContents>6.95</ValueOfContents><Country>Canada</Country><Container>VARIABLE</Container><Size>REGULAR</Size><Width/><Length/><Height/><Girth/></Package></IntlRateV2Request>
[result] => <?xml version="1.0" encoding="UTF-8"?>
Areas Served: All</ExpressMail><AreasServed>Please reference Express Mail for Areas Served.</AreasServed><AdditionalRestrictions>No Additional Restrictions Data found.</AdditionalRestrictions><Service ID="12"><Pounds>0</Pounds><Ounces>2.8</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>62.00</Postage><ExtraServices><ExtraService><ServiceID>106</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>40.95</Postage><ExtraServices><ExtraService><ServiceID>107</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>107</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>107</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>107</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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="13"><Pounds>0</Pounds><Ounces>2.8</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>1.61</Postage><ExtraServices><ExtraService><ServiceID>100</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>103</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>14.95</Price></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>Varies by destination</SvcCommitments><SvcDescription>First-Class Mail&lt;sup&gt;&#174;&lt;/sup&gt; International Letter</SvcDescription><MaxDimensions>Max. length 11-1/2", height 6-1/8" or thickness 1/4"</MaxDimensions><MaxWeight>.22</MaxWeight></Service><Service ID="14"><Pounds>0</Pounds><Ounces>2.8</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>2.71</Postage><ExtraServices><ExtraService><ServiceID>100</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>103</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>14.95</Price></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>9.50</Postage><ExtraServices><ExtraService><ServiceID>109</ServiceID><ServiceName>Electronic USPS Delivery Confirmation™ International (E-USPS DELCON INTL™)</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>100</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>103</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>14.95</Price></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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 ECOMPRO when mailing to Canada.</Description></ServiceError></ServiceErrors></Service></Package></IntlRateV2Response>
[__pid] => 17026
这是导致网站无法检索 USPS 运费的最常见错误之一。我们找到了错误的来源:
如果ZIP/Postal代码使用美国邮政编码,则只能是五位邮政编码。如果您使用 Post Office 真正喜欢的 ZIP+4,这会混淆 USPS 服务器并会 return 一条错误消息。
您可以在 Magento 管理区域的运送设置部分进行设置。
系统 –> 配置 –> 发货设置
Please check the zip code field in the image.
这是您可以更正的方法:
Please try using just the Zip code of 5 digits and it must work.
我的 USPS 结账方式有问题,我有这个错误:
目前无法使用此送货方式。如果您想使用这种送货方式送货,请联系我们。
我打了SUPEE-10336补丁也是一样,然后我在扩展中打开调试,结果是这样的:
2017-10-05T19:50:26+00:00 DEBUG (7): Array
(
[request] => <?xml version="1.0" encoding="UTF-8"?>
<IntlRateV2Request USERID="662THEAF7311"><Revision>2</Revision><Package ID="0"><Pounds>0</Pounds><Ounces>2.8</Ounces><MailType>All</MailType><ValueOfContents>6.95</ValueOfContents><Country>Canada</Country><Container>VARIABLE</Container><Size>REGULAR</Size><Width/><Length/><Height/><Girth/></Package></IntlRateV2Request>
[result] => <?xml version="1.0" encoding="UTF-8"?>
Areas Served: All</ExpressMail><AreasServed>Please reference Express Mail for Areas Served.</AreasServed><AdditionalRestrictions>No Additional Restrictions Data found.</AdditionalRestrictions><Service ID="12"><Pounds>0</Pounds><Ounces>2.8</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>62.00</Postage><ExtraServices><ExtraService><ServiceID>106</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>40.95</Postage><ExtraServices><ExtraService><ServiceID>107</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>107</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>107</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>107</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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>0</Pounds><Ounces>2.8</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>108</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><Price>0.00</Price><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><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="13"><Pounds>0</Pounds><Ounces>2.8</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>1.61</Postage><ExtraServices><ExtraService><ServiceID>100</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>103</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>14.95</Price></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>Varies by destination</SvcCommitments><SvcDescription>First-Class Mail&lt;sup&gt;&#174;&lt;/sup&gt; International Letter</SvcDescription><MaxDimensions>Max. length 11-1/2", height 6-1/8" or thickness 1/4"</MaxDimensions><MaxWeight>.22</MaxWeight></Service><Service ID="14"><Pounds>0</Pounds><Ounces>2.8</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>2.71</Postage><ExtraServices><ExtraService><ServiceID>100</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>103</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>14.95</Price></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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>9.50</Postage><ExtraServices><ExtraService><ServiceID>109</ServiceID><ServiceName>Electronic USPS Delivery Confirmation™ International (E-USPS DELCON INTL™)</ServiceName><Available>True</Available><Price>0.00</Price></ExtraService><ExtraService><ServiceID>100</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><Price>1.35</Price></ExtraService><ExtraService><ServiceID>103</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><Price>14.95</Price></ExtraService><ExtraService><ServiceID>105</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><Price>3.85</Price></ExtraService></ExtraServices><ValueOfContents>6.95</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>0</Pounds><Ounces>2.8</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 ECOMPRO when mailing to Canada.</Description></ServiceError></ServiceErrors></Service></Package></IntlRateV2Response>
[__pid] => 17026
这是导致网站无法检索 USPS 运费的最常见错误之一。我们找到了错误的来源:
如果ZIP/Postal代码使用美国邮政编码,则只能是五位邮政编码。如果您使用 Post Office 真正喜欢的 ZIP+4,这会混淆 USPS 服务器并会 return 一条错误消息。
您可以在 Magento 管理区域的运送设置部分进行设置。
系统 –> 配置 –> 发货设置
Please check the zip code field in the image.
这是您可以更正的方法:
Please try using just the Zip code of 5 digits and it must work.