How do you get FedEx shipping options to show up?

6 years ago
I have setup FedEx as my shipping options and checked all the possible shipping methods to show up.  When I test it on the cart page, only 6 of the options show up.  I'm specifically trying to get FedEx SmartPost to show up.  

I have gone to FedEx.com and checked the rates online and even run a few rate calculators and SmartPost shows up as an option.  So, the account is set up correctly at FedEx.  

When I un-check everything but SmartPost I get "Shipping options could not be loaded" on the shopping cart page after clicking "estimate shipping".

Does anyone know how I can get FedEx SmartPost to show up as a shipping option?

EDIT:
Also, I have selected both FedEx Ground Delivery and FedEx Ground Home Delivery so customers can choose between shipping to a residentail or business address.  Yet, only one of the options shows up regardless of address or settings.
6 years ago
I don't think the nopC plugin supports it.  Although the option is available in the config page, a SmartPost request requires additional elements (http://www.fedex.com/us/developer/product/WebServices/MyWebHelp/Transactions/WS/r_SmartPostRequestElements.html).   The way the plugin works now (and is similar for UPS), is that it makes a "general" request (without specifying specific service types), and then when it gets all the results back, it just keeps the ones checked off in the config page.  Since SmartPost requires additional elements, it may also require another independent rate request.  Custom coding would be required to support it.
6 years ago
AM   Is this something that will be resolved?  We need to have access to all shipping options from shippers.  I get much cheaper rates with SmartPost than ground and want to be able to provide this as an option to customers.
6 years ago
UserThomas wrote:
AM   Is this something that will be resolved?  We need to have access to all shipping options from shippers.  I get much cheaper rates with SmartPost than ground and want to be able to provide this as an option to customers.


Any ideas on how to get this to work or if it will be included in an update?
6 years ago
Anyone know if this is possible?  

AN
If not, can it be added as a work item?
6 years ago
UserThomas wrote:
If not, can it be added as a work item?

Sure. I've just created a work item. Thanks
6 years ago
Great! I hope it gets enough support to be added.  Thanks again!
5 years ago
New York wrote:
...a SmartPost request requires additional elements...

Hi,

I opened "SetShipmentDetails" method of "FedexComputationMethod.cs" file and added the following code
        
if (_fedexSettings.CarrierServicesOffered != null && _fedexSettings.CarrierServicesOffered.Contains("SMART_POST"))
        {
            request.RequestedShipment.ServiceType = RateServiceWebReference.ServiceType.SMART_POST;
            //Smart Post require some additional elements
            //more info at http://www.fedex.com/us/developer/product/WebServices/MyWebHelp/Transactions/WS/r_SmartPostRequestElements.html
            request.RequestedShipment.SmartPostDetail = new SmartPostShipmentDetail();
            request.RequestedShipment.SmartPostDetail.Indicia = SmartPostIndiciaType.MEDIA_MAIL;
           //of course, 5185 shuold be configurable
            request.RequestedShipment.SmartPostDetail.HubId = "5185";
        }

But for some reasons it does not work. Could anybody (who has experience with FedEx or already added SmartPost support) please have a look?
5 years ago
I haven't used it, but here are some thoughts...
I think you need to have it enabled on your account: "Service provided on a contract-only basis."

Try a different SmartPostIndiciaType
?? Any package over 13 oz. must use SmartPost Parcel Select. Anything under 13 oz. must use SmartPost Presorted Standard (http://help.shipstation.com/customer/portal/articles/1066965-how-do-i-add-fedex-smartpost-as-a-shipping-provider-)

"Individual packages may not exceed 70 lbs. or 130" in girth."
4 years ago
AM I was able to use your code to get the FedEx smart post rate response, however in order to get multiple FedEx rate options you need to make multiple requests with FedEx. I added a Boolean to your code and method which requires the GetShippingOptionResponse to make to two requests if the smart post is selected. Also note your FedEx account has to be activated with smart post otherwise you won't get a response or possibly an error. This is not a elegant fix, but I couldn't think of another way to make multiple requests using the same properties and methods.

SetShipmentDetails - Modification
if (_fedexSettings.CarrierServicesOffered != null && _fedexSettings.CarrierServicesOffered.Contains("SMART_POST") && smartPostRequest)

GetShippingOptionResponse - Modification
var request = CreateRateRequest(getShippingOptionRequest, out requestedShipmentCurrency, false);
var request2 = CreateRateRequest(getShippingOptionRequest, out requestedShipmentCurrency, true); // Inscio - JK

var service = new RateService(); // Initialize the service
service.Url = _fedexSettings.Url;
try
   {
      // This is the call to the web service passing in a RateRequest and returning a RateReply
      var reply = service.getRates(request); // Service call
      var reply2 = service.getRates(request2); // Inscio - JK 4/27/2016 Added Smart Post Request