Thank you Cindy!
Thank you Cindy!
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Hi @lat9, thanks for your fast update on this plug-in! I just upgraded my site to 2022-07-10 K11b (downloaded from github) and US domestic works good (first-class, priority, EMS). However, Priority Express Intl (International EMS) doesn't show up like before. I have double checked that "Priority Express Intl" is enabled under the settings page.
I can replicate this issue.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Hi @swguy, thanks for your test.
Hi @lat9, I did some search to try to find the updated shipping method names and I found the following link. Not sure if it is useful or not. Google said this link is updated 3 days ago.
https://ve.wordpress.org/plugins/ele...ipping-method/
USPS Domestic Services:
* First-Class Mail® Parcel
* First-Class™ Postcard Stamped
* First-Class™ Large Postcards
* First-Class™ Keys and IDs
* First-Class™ Package Service
* First-Class Mail® Metered Letter
* First-Class™ Package Service Hold For Pickup
* Priority Mail Express™ Hold for Pickup
* Priority Mail Express™
* Priority Mail Express™ Sunday/Holiday
* USPS Retail Ground ( Standard Post™ )
* Media Mail
* Library Mail
* Priority Mail®
* Priority Mail® Keys and IDs
* Priority Mail® Hold For Pickup
* Priority Mail® Regional Rate Box A
* Priority Mail® Regional Rate Box B
USPS International Services:
* Priority Mail Express International™
* Priority Mail International®
* Global Express Guaranteed® (GXG)
* Global Express Guaranteed® Envelope
* Global Express Guaranteed® Non-Document Rectangular
* Global Express Guaranteed® Non-Document Non-Rectangular
* USPS GXG™ Envelope
* First Class Package Service™ International Letters
* First Class Package Service™ International Large Envelope
* First Class Package International Service™
* International Postcards
.
In the readme.txt file of the "2021-07-10 Version K11b" update is this:
"2. If USPS exists, Click on USPS and edit then save all your settings to NotePad as they will be lost ... UNLESS
... you've currently got '2021-05-05 K11a' installed and you're updating to '2022-07-10 K11b'. For that
update (and possibly future ones), the update is **automatic** so that you don't need to re-enter all
your settings!
"
For those that do have 2021-05-05 K11a installed, do the directions after that step change? For example, do we still remove the plugin? Does this delete the old plugin files?
If you have a, you can load just the includes/modules/shipping/usps.php and files are updated without having to redo your settings.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
You want to visit Admin > Modules > Shipping and click USPS to verify the update worked. Assuming all was well you'll see a green message at the top of the screen ("Updated to USPS version ...") and the right sidebox will say USPS version 2022-07-10 K11b.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Ok I think I found the fix for this bug. I tested it on my site and it worked good. Maybe @lat9 has a better way to improve...
\includes\modules\shipping\usps.php
Near line 626, change from
ToPHP Code:
if ($type === 'Priority Mail Flat RateRM Envelope') {
$type = 'Priority MailRM Flat Rate Envelope';
}
$type_rebuilt = $type;
PHP Code:
if ($type === 'Priority Mail Flat RateRM Envelope') {
$type = 'Priority MailRM Flat Rate Envelope';
}
if ($type === 'Priority Mail Express InternationalRM') {
$type = 'Priority Mail Express International';
}
$type_rebuilt = $type;
2022-07-12 K11c of the USPS Shipping module has been submitted for the Zen Cart moderators' review.
This release corrects the quote-checking for "Priority Mail Express International" methods; see GitHub issue #22.
Bookmarks