USPS: No available shipping methods

From AVACTIS : Ecommerce Shopping Cart Software Wiki
Jump to: navigation, search

For Avactis 2.1.1

If you set up USPS correct, but get the No available shipping methods warning on the checkout, replace the following line:

if(!strpos($_service, $mailtype)) continue;

with this one:

if($ocntr!=$dcntr && !strpos($_service, $mailtype)) continue;

in the avactis-system/modules/shipping_module_usps/shipping_module_usps_api.php file.