The forum would not let me upload an image, so will have to post the whole thing in here.
Code:
Jun 23 2016 12:24:50 --
USPS build: 2016-01-17
Server: production
Quote Request Rate Type: Online
Quote from main_page: checkout_shipping
USPS Options (weight, time): --none--
USPS Domestic Transit Time Calculation Mode: NEW
Cart Weight: 0.25
Total Quote Weight: 0.25 Pounds: 0 Ounces: 4
Maximum: 50 Tare Rates: Small/Medium: 0:0 Large: 10:0
Handling method: Order Handling fee Domestic: $1.50 Handling fee International: $2.00
Decimals: 2
Domestic Length: Width: Height:
International Length: Width: Height:
All Packages are Machinable: False
Enable USPS First-Class filter for US shipping: True
Sorts the returned quotes: Price-LowToHigh
ZipOrigination: 99503
ZipDestination: 55512 Country: Australia City: Samton State: Queensland
Order SubTotal: $17.95
Order Total: $17.95
Uninsurable Portion: $0.00
Insurable Value: $17.95
RESPONSE FROM USPS:
==================================
<?xml version="1.0" encoding="UTF-8"?>
<IntlRateV2Response>
<Package ID="0"><Error><Number>-2147219059</Number><Source>;IntlRateV2.ProcessRequest</Source>
<Description>Invalid Dimensions. Length, Height, and Width are required.</Description><HelpFile/><HelpContext/></Error></Package></IntlRateV2Response>
==================================
USPS Country - $this->countries[$order->delivery[country][iso_code_2]]: Australia $this->usps_countries: AU
USPS INTERNATIONAL CHECKED: Online
First-Class Package International ServiceTM - min: 0 max: 4 handling: 0.00
Priority Mail InternationalRM - min: 0 max: 66 handling: 0.00
==================================
International Services Selected:
==================================
SENT TO USPS:
<IntlRateV2Request USERID="056WESTC2858">
<Revision>2</Revision>
<Package ID="0">
<Pounds>0</Pounds>
<Ounces>4</Ounces>
<MailType>All</MailType>
<GXG>
<POBoxFlag>N</POBoxFlag>
<GiftFlag>N</GiftFlag>
</GXG>
<ValueOfContents>17.95</ValueOfContents>
<Country>Australia</Country>
<Container>RECTANGULAR</Container>
<Size>REGULAR</Size>
<Width>
</Width>
<Length>
</Length>
<Height>
</Height>
<Girth>0</Girth>
<OriginZip>99503</OriginZip>
<CommercialFlag>Y</CommercialFlag>
</Package>
</IntlRateV2Request>
============
RAW XML FROM USPS:
SimpleXMLElement Object
(
[Package] => SimpleXMLElement Object
(
[@attributes] => Array
(
[ID] => 0
)
[Error] => SimpleXMLElement Object
(
[Number] => -2147219059
[Source] => ;IntlRateV2.ProcessRequest
[Description] => Invalid Dimensions. Length, Height, and Width are required.
[HelpFile] => SimpleXMLElement Object
(
)
[HelpContext] => SimpleXMLElement Object
(
)
)
)
)
Bookmarks