drupal-6ubercartfedex

How do you add Fedex SmartPost as a shipping option?


I am looking to add FedEx SmartPost as a shipping option. Any idea what I need to do to accomplish this? The only information I have found on it is here https://drupal.org/node/793124, but it seems no one has solved this issue. I am willing to modify the ubercart fedex module if needed.

So far what I have done:

In the uc_fedex_quote function, I have added a debug statement right after:

  $response = uc_fedex_rate_request($packages, $origin, $destination);
  drupal_set_message('<pre>'. print_r($response, TRUE) .'</pre>');

In the response I do not get SmartPost returned as an option.


Solution

  • This is what I had to do (note: I edited the uc_fedex.module directly):