I added USPS as an integrated carrier, and I am attempting to use the Priority Mail® International Medium Flat Rate Box rates. The behavior so far has been the display of There are no shipping methods available to the selected destination(s).
I have Canada set up as a zone, and have that zone associated with the method. When USPS activated my account, they provided two URLs - an https and a non-https version. The https version doesn't appear to work based on the logs, but I do get rates back when I make a call to the standard version.
Here is the portion of the call result that I am after:
Code: Select all
<Service ID="9">
<Pounds>3</Pounds>
<Ounces>0</Ounces>
<MailType>Package</MailType>
<Country>CANADA</Country>
<Postage>32.95</Postage>
<SvcCommitments>6 - 10 business days</SvcCommitments>
<SvcDescription>Priority Mail<sup>&reg;</sup> International 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>
When I query ac_shipMethods I get a ServiceCode of Priority Mail International Flat-Rate Box
I have also tried cutting and pasting in the text string returned above, as well as Priority Mail® International Medium Flat Rate Box but none of those have worked.
One other data point, when I ran the USPS test I got the following result. I've seen several posts mentioning that the tests were not functional anyway, but I'm guessing the v2 vs v4 means I may not be sending the properly formatted request?
Code: Select all
USPS Canned Test Results
Rate Calculator : Test 1 FAILED
Error Number : 80040b1a
Error Message : API Disabled: RateV2. This API has been retired. Please use RateV4. Documentation can be found at https://www.usps.com/business/webtools-technical-guides.htm
Rate Calculator : Test 2 FAILED
Error Number : 80040b1a
Error Message : API Disabled: RateV2. This API has been retired. Please use RateV4. Documentation can be found at https://www.usps.com/business/webtools-technical-guides.htm
Here is the version information for my instance:
VERSION: 7.0.3
BUILD: 12458