PDA

View Full Version : USPS Methods



michael_s
10-10-2014, 04:17 PM
Fix for USPS Version 7.3.1 running Paypal Express
Issue: Express.php module hangs (returns blank white page in browser) while getting transit time (getDmstcTransitTimes) quote in USPS module. Around line 1375 or so, below

if (!class_exists('httpClient')) {
include(DIR_WS_CLASSES . 'http_client.php');
}


add:

if (!class_exists('httpClient')) {
include(DIR_FS_CATALOG . DIR_WS_CLASSES . 'http_client.php');
}

It MAY be ok to actually replace the "if then" check instead of adding - but not sure if the path is correct in other circumstances.

More... (http://addons.oscommerce.com/info/487)