siliconbug:
Non-encapsulated w/ ZC v1.5.8
International Rates don't show up in v1.5.1 (no error logs generated).
Found the bug. You're probably running into this:
[19-Oct-2025 09:11:41 America/New_York] Request URI: /zencart210/index.php?main_page=popup_shipping_estimator, IP address: 127.0.0.1, Language id 1
#0 E:\xampp\htdocs\zencart210\zc_plugins\USPSRestful\v0.0.0\catalog\includes\modules\shipping\uspsr.php(2297): zen_debug_error_handler()
#1 E:\xampp\htdocs\zencart210\zc_plugins\USPSRestful\v0.0.0\catalog\includes\modules\shipping\uspsr.php(398): uspsr->_getQuote()
#2 E:\xampp\htdocs\zencart210\includes\classes\shipping.php(257): uspsr->quote()
#3 E:\xampp\htdocs\zencart210\includes\modules\shipping_estimator.php(163): shipping->quote()
#4 E:\xampp\htdocs\zencart210\includes\templates\template_default\popup_shipping_estimator\tpl_main_page.php(15): require('E:\\xampp\\htdocs...')
#5 E:\xampp\htdocs\zencart210\index.php(94): require('E:\\xampp\\htdocs...')
--> PHP Warning: Undefined variable $pkg_intl_length in E:\xampp\htdocs\zencart210\zc_plugins\USPSRestful\v0.0.0\catalog\includes\modules\shipping\uspsr.php on line 2297.
Which is causing something like this to be sent out:
{
"weight": 0.8125,
"length": null,
"height": null,
"thickness": null,
"processingCategory": "LETTERS",
"nonMachinableIndicators": {
"isPolybagged": false,
"hasClosureDevices": false,
"hasLooseItems": false,
"isRigid": false,
"isSelfMailer": false,
"isBooklet": false
},
"itemValue": 47.4,
"destinationCountryCode": "CA"
}
Needless to say, this fails. Working on a x.x.2 patch now.
There was also another "bug" sort of regarding First Class Mail Letters but it's more of a rounding error that occurs. Incoming update shortly.