-- HikaShop version -- : 2.2.3 business
-- Joomla version -- : 2.5.16
I have a problem with the maximum size allowed by the USPS plugin. For USPS this is calculated at (Max length + Girth) = 108in (or 130in for Parcel Post or Standard Mail). So in general, L + (2*W + 2*H) must be less than 130in, where L is the longest dimension. The only option I have is to set a maximum volume in the plugin, which doesn't equate very well for large parcels of multiple sizes. (Some are square, some are long and flat.)
Is there a way to add this into the USPS plugin? (Seems not too difficult, but I'm not a PHP programmer.)
Edit: Unless I'm reading it all wrong (not strong on PHP etc.), this appears to be broken because the plugin does not pass the actual dimensions to the USPS server. Instead, there appear to be fixed values in usps.php. For US requests it appears to pass just the <size> parameter as 'REGULAR, when it seems width, length and height are optional values that could be passed to the API as shown in
www.usps.com/business/web-tools-apis/rat...7a.htm#_Toc328498434
$parcel->Length=15;
$parcel->Width=15;
$parcel->Height=15;
How can I fix this?