Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
I don't understand the problem statement.
What is the "Media Category (5)"? Did you have this working on a previous USPS version? If so, could you point me to a thread where Ajeh identified how to do it?
If I know "how you did it before", I can point you to "how to do it again".
I have never got it working. in previous edition v154 and beyond, we did flat rate. I would like to get this working. I read the other versions post but it does not work for v157c with K11. If someone got it to work in previous versions of USPS maybe they can let you know. The code I read before used a master category number for Media (mine is Master_id = 5) for loop but that did not work on my K11.
Re: USPS Shipping Module [Support Thread]
So, we installed the new patch in order to switch the URL's to secrure as directed. Using ZC 1.5.7a and the 2020-09-24 K11 build from USPS. Am I missing a setting somewhere? First Class does not show up as an option even on the lightest shipments, and I'm losing orders based on only priority mail and express mail showing up. I've gone back and checked the USPS module, and really didn't change anything except the handling fee. I don't offer flat rate for anything, so the only options my customers have are First Class Package Service, Priority Mail, Express Mail, First Class International Package, Priority Mail International, and Express Mail International. Here are my settings in the USPS module:
USPS Version Date
2020-09-24 K11
Enable USPS Shipping
True
Full Name or Short Name
Long
Enter the USPS Web Tools User ID
XXXXXXXXXXXXX (changed from original for privacy)
Which server to use
production
Quote Sort Order
Price-LowToHigh
Handling Fee - US
2.5
Handling Fee - International
3
Handling Per Order or Per Box
Order
Decimal Settings
3
Tax Class
--none--
Tax Basis
Shipping
Shipping Zone
--none--
Sort Order
0
All Packages are Machinable?
False
USPS Options
--none--
USPS Domestic Transit Time Calculation Mode
NEW
USPS Domestic minimum Length
8.625
USPS minimum Width
5.375
USPS minimum Height
1.625
USPS International minimum Length
9.50
USPS minimum Width
1.0
USPS minimum Height
5.50
Enable USPS First-Class filter for US shipping
True
Shipping Methods (Domestic and International)
0, .21875, 0.00, 0, .8125, 0.00, First-Class Package Service - RetailTM, 0, .8125, 0.00, 0, .9375, 0.00, 0, 70, 0.00, 0, 70, 0.00, Priority MailTM, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 15, 0.00, 0, 20, 0.00, Priority Mail ExpressTM, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, .21875, 0.00, 0, 4, 0.00, First-Class Package International ServiceTM, 0, 4, 0.00, Priority Mail InternationalRM, 0, 66, 0.00, 0, 4, 0.00, 0, 4, 0.00, 0, 20, 0.00, 0, 20, 0.00, Priority Mail Express InternationalTM, 0, 66, 0.00, 0, 4, 0.00, 0, 70, 0.00, 0, 70, 0.00
Extra Services (Domestic)
Certified MailRM, N, USPS TrackingTM Electronic, N, USPS TrackingTM, N, Insurance, N, Priority Mail Express Insurance, N, Priority Mail Insurance, N, Adult Signature Restricted Delivery, N, Adult Signature Required, N, Registered MailTM, N, Collect on Delivery, N, Return Receipt, N, Certificate of Mailing (Form 3665), N, Certificate of Mailing (Form 3817), N, Signature ConfirmationTM Electronic, N, Signature ConfirmationTM, N, Priority Mail Express 1030 AM Delivery, N, Certified MailRM Restricted Delivery, N, Certified MailRM Adult Signature Required, N, Certified MailRM Adult Signature Restricted Delivery, N, Signature ConfirmationTM Restricted Delivery, N, Signature ConfirmationTM Electronic Restricted Delivery, N, Collect on Delivery Restricted Delivery, N, Registered MailTM Restricted Delivery, N, Insurance Restricted Delivery, N, Insurance Restricted Delivery (Priority Mail Express), N, Insurance Restricted Delivery (Priority Mail), N
Extra Services (International)
Registered Mail, N, Insurance, N, Return Receipt, N, Electronic USPS Delivery Confirmation International, N, Certificate of Mailing, N
Retail pricing or Online pricing?
Online
Debug Mode
Off
Re: USPS Shipping Module [Support Thread]
Never mind. It only had the first class - retail option selected; once I checked the first class - comm option, they started showing up again.
Re: USPS Shipping Module [Support Thread]
so......I have an item that is bulky...like 30" x 24" x 24"......around 30 pounds......BUT zencart chooses a large flat rate USPS box.......my item would never fit in a USPS LFR box!
how do I fix this problem?
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lrfowler24
so......I have an item that is bulky...like 30" x 24" x 24"......around 30 pounds......BUT zencart chooses a large flat rate USPS box.......my item would never fit in a USPS LFR box!
how do I fix this problem?
The USPS shipping module works on weights alone, so that 30-pound item will (from a weight standpoing) 'fit' in the large flat-rate box, which is limited to 70 pounds.
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lrfowler24
so......I have an item that is bulky...like 30" x 24" x 24"......around 30 pounds......BUT zencart chooses a large flat rate USPS box.......my item would never fit in a USPS LFR box!
how do I fix this problem?
You could change the max weight of a LFRbox from 70 down to something more realistic.
In our case & based upon the products we sell, we limit SMfr boxes to a total zencart weight of 1.5 pounds
Regional A boxes 1.51 to 3.00 pounds
MEDfr from 3.01-7 pounds
Then juggle database weights of products to make them fit to the boxes desired. Not perfect but works for us.
Re: USPS Shipping Module [Support Thread]
i saw something in this forum about the Unsecure HTTP Endpoint Retirement, and there being a patch for that. I can't find it now, but when I got the USPS notice, I just searched the files for all the places where http://production.shippingapis dot com was mentioned, and changed them to https. Is anything needed besides that? I have the 2017 version of the file, if that makes any difference.
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
HeleneWallis
i saw something in this forum about the Unsecure HTTP Endpoint Retirement, and there being a patch for that. I can't find it now, but when I got the USPS notice, I just searched the files for all the places where
http://production.shippingapis dot com was mentioned, and changed them to https. Is anything needed besides that? I have the 2017 version of the file, if that makes any difference.
From the updated module's _getQuote method:
PHP Code:
// Prepare to make quote-request to USPS servers
switch (MODULE_SHIPPING_USPS_SERVER) {
// -----
// 20200924 Update: USPS will be phasing out the http:// (non-secure) URL.
//
// Secure APIs: https://secure.shippingapis.com/ShippingAPI.dll
// Non-secure APIs: http://production.shippingapis.com
//
case 'production':
$usps_server = 'https://secure.shippingapis.com';
$api_dll = 'ShippingAPI.dll';
break;
case 'test':
default:
// 09-7-2014
//Secure APIs: https://stg-secure.shippingapis.com/ShippingApi.dll
//Non-secure APIs: http://stg-production.shippingapis.com/ShippingApi.dll
$usps_server = 'https://stg-secure.shippingapis.com';
$api_dll = 'ShippingApi.dll';
break;
}
Re: USPS Shipping Module [Support Thread]
I've just submitted USPS version 2021-05-05 K11a for the Zen Cart moderators' review and will post back here when it's available for download.
This release contains changes associated with the following GitHub issues:
#15: Correcting minimum International dimensions so that International Small F/R Box can be quoted.
#16: Add notification to enable site-specific customizations for configured shipping methods.
Re: USPS Shipping Module [Support Thread]
Quote:
Originally Posted by
lat9
I've just submitted USPS version 2021-05-05 K11a for the Zen Cart moderators' review and will post back here when it's available for download.
This release contains changes associated with the following GitHub issues:
#15: Correcting minimum International dimensions so that International Small F/R Box can be quoted.
#16: Add notification to enable site-specific customizations for configured shipping methods.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1292