
Originally Posted by
njcyx
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.
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
PHP Code:
if ($type === 'Priority Mail Flat RateRM Envelope') {
$type = 'Priority MailRM Flat Rate Envelope';
}
$type_rebuilt = $type;
To
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;