I use the zencart USPS shipping module. I didn't change anything, but it stopped working recently. It gives me this error during checkout:
"An error occurred in obtaining USPS shipping quotes.
If you prefer to use USPS as your shipping method, please try refreshing this page, or contact the store owner."
First thing I tried was updating to the latest version of the USPS shipping module, but that didn't help. Then I search and found this thread: https://www.zen-cart.com/showthread....shipping-error
I turned on the USPS module logging and got the following log:
So this matches that previous thread exactly. However the next thing that thread suggests is running /extras/curltester.php. For them this failed and they contacted their webhost to get it fixed. My results for curltester pass so I'm not sure what is wrong.Code:Nov 07 2015 8:45:15 -- CommErr (should be 0): 28 - connect() timed out! USPS build: 2015-05-31 Server: production Quote Request Rate Type: Online Quote from main_page: popup_shipping_estimator USPS Options (weight, time): Display weight, Display transit time USPS Domestic Transit Time Calculation Mode: NEW Cart Weight: 0.2 Total Quote Weight: 1.22 Pounds: 1 Ounces: 4 Maximum: 25 Tare Rates: Small/Medium: 10:1 Large: 10:2 Handling method: Box Handling fee Domestic: $3.00 Handling fee International: $4.00 Decimals: 2 Domestic Length: 8.625 Width: 5.375 Height: 1.625 International Length: 9.50 Width: 1.0 Height: 5.50 All Packages are Machinable: True Enable USPS First-Class filter for US shipping: True Sorts the returned quotes: Price-LowToHigh ZipOrigination: 01545 ZipDestination: 01523 City: Lancaster State: Massachusetts Order SubTotal: $19.00 Order Total: $20.19 Uninsurable Portion: $0.00 Insurable Value: $20.19 RESPONSE FROM USPS: ================================== ================================== USPS Country - $this->countries[$order->delivery[country][iso_code_2]]: $this->usps_countries: US USPS DOMESTIC CHECKED: Online Package ID sent: 0 Priority MailTM - min: 0 max: 70 handling: 0.00 USPS DOMESTIC RETURNED: Package ID returned: 0 $requested_type: Priority MailTM $service: PRIORITY COMMERCIAL $Container: VARIABLE ================================== Domestic Services Selected: ================================== SENT TO USPS:
Bookmarks