Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHPjoel

Pioneers
  • Posts

    4
  • Joined

  • Last visited

Profile Information

PHPjoel's Achievements

  1. I also had to do this in purchase_ship_fedex.php Within: foreach($fedex_vars as $var) { add the "S"-addition code.. $value_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = '" . $var . "'"); $value = tep_db_fetch_array($value_query); // append an 'S' to the weight unit @phpJoel if($var == 'MODULE_SHIPPING_FEDEX_WEB_SERVICES_WEIGHT') $value['configuration_value'] = $value['configuration_value'] . 'S'; $value = $value['configuration_value'];
  2. I have upgraded to FedExWebServices using this addon. I am also using the Shipping Labels... The addon that uses ship_fedex.php and fedexdc.php. I don't know how much longer fedexdc.php will be supported by FedEx, but it seems to work right now. To get the Shipping Labels to work again, I did the following: Change MODULE_SHIPPING_FEDEX1_ mentions to their MODULE_SHIPPING_FEDEX_WEB_SERVICES_ equivalent in both ship_fedex.php and purchase_ship_fedex.php After doing that, I was getting "ERROR: FedEx Return Error F01F : Weight type not pounds (LBS) nor kilograms (KGS)" @ ship_fedex.php Since the WebServices (for shipping quotes in the cart) requires weight to be LB or KG, I made the following edit for ship_fedex.php: foreach($fedex_vars as $var) { $value_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = '" . $var . "'"); $value = tep_db_fetch_array($value_query); // append an 'S' to the weight unit @phpJoel if($var == 'MODULE_SHIPPING_FEDEX_WEB_SERVICES_WEIGHT') $value['configuration_value'] = $value['configuration_value'] . 'S'; $value = $value['configuration_value']; The labels are now being displayed again. This hasn't been thoroughly tested or anything, but my goal was to get the labels working again for the time being.
×
×
  • Create New...