Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

    Default FedEx Ground Economy / SmartPost Shipping Module [Unofficial Discussion Thread]

    Recently, we got a good deal from FedEx Ground Economy/Smartpost. I'm not sure why but the previous fedexwebservices plug-in doesn't quote Smartpost (I cannot find smartpost from the response log file). Then I noticed that Numinix offered a separate smartpost plug-in back in 2018. After trial and error period, finally I made it work. If you want to try my code, please find the link below.

    https://github.com/njcyx/fedexsmartpost.git

    The code was tested under zc 1.57d with php7.4. Not sure if anyone still use this service...

    Numinix plug-in link:

    https://www.numinix.com/zen-cart-plu...hipping-module

    Changelog:

    Updated code for PHP7.4
    Corrected debug function. There are some lines of code for debugging but not working.
    Updated the language to display Ground Economy instead of Smartpost
    Used the newer pricing file (RateService_v31) instead of v10. Also changed the folder location for the pricing file so it can use the same file from fedexwebservices folder instead.

    Next Step:

    Probably try to combine two plug-ins together (fedexwebservices and smartpost). I compared the request log files and they looks slightly different.
    Last edited by njcyx; 4 Oct 2023 at 03:45 PM.

  2. #2
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

    Default Re: FedEx Ground Economy / SmartPost Shipping Module [Unofficial Discussion Thread]

    Wait, this plug-in will still trigger some future PHP error warnings when the plug-in is not installed. After the plug-in is installed, no more warning.

    PHP Warning: Use of undefined constant MODULE_SHIPPING_FEDEX_SMARTPOST_SORT_ORDER - assumed 'MODULE_SHIPPING_FEDEX_SMARTPOST_SORT_ORDER' (this will throw an Error in a future version of PHP) in /public_html/includes/modules/shipping/fedexsmartpost.php on line 14.

    7 parameters are affected:
    MODULE_SHIPPING_FEDEX_SMARTPOST_SORT_ORDER
    MODULE_SHIPPING_FEDEX_SMARTPOST_TAX_CLASS
    MODULE_SHIPPING_FEDEX_SMARTPOST_STATUS
    MODULE_SHIPPING_FEDEX_SMARTPOST_KEY
    MODULE_SHIPPING_FEDEX_SMARTPOST_PWD
    MODULE_SHIPPING_FEDEX_SMARTPOST_ACT_NUM
    MODULE_SHIPPING_FEDEX_SMARTPOST_METER_NUM

    Tried some methods but no help. Not sure how to fix. Use "error_reporting(0);"

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: FedEx Ground Economy / SmartPost Shipping Module [Unofficial Discussion Thread]

    I just opened an issue (https://github.com/njcyx/fedexsmartpost/issues/1) on your github repo with a suggested solution.

  4. #4
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

    Default Re: FedEx Ground Economy / SmartPost Shipping Module [Unofficial Discussion Thread]

    Quote Originally Posted by lat9 View Post
    I just opened an issue (https://github.com/njcyx/fedexsmartpost/issues/1) on your github repo with a suggested solution.
    Hi @lat9, you saved my day! I tried your suggested code and it worked! No more warning at all.

    I saw you also opened another two issues. I will take a look and do some tests...

    Appreciate your help and guidance.

  5. #5
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

    Default Re: FedEx Ground Economy / SmartPost Shipping Module [Unofficial Discussion Thread]

    Quote Originally Posted by lat9 View Post
    I just opened an issue (https://github.com/njcyx/fedexsmartpost/issues/1) on your github repo with a suggested solution.
    For the other two issues you posted, I have updated the code according to your suggestion. Thanks again!

  6. #6
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

    Default Re: FedEx Ground Economy / SmartPost Shipping Module [Unofficial Discussion Thread]

    Github code updated, to correct issue that quote is still displayed for weight over 70lb.

    Ground Economy can only ship from 1lb to 70lb.

    https://www.fedex.com/en-us/shipping...d/economy.html

    I have been able to add the ground economy code into the main fedexwebservices plug-in. So no need to use a separate plug-in any more.

    https://www.zen-cart.com/showthread....cussion-Thread

 

 

Similar Threads

  1. v157 FedEx Web Services Shipping [Unofficial Discussion Thread]
    By njcyx in forum Addon Shipping Modules
    Replies: 29
    Last Post: 4 Apr 2024, 07:28 PM
  2. v157 DHL XML Shipping [Unofficial Discussion Thread]
    By njcyx in forum Addon Shipping Modules
    Replies: 0
    Last Post: 22 Jun 2023, 07:41 PM
  3. v157 FedEx Shipping - One Rate, SmartPost, WebServices, FICP
    By Cognecy in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 19 Sep 2022, 08:59 PM
  4. v151 FedEx SmartPost by Numinix
    By matzkemedia in forum Addon Shipping Modules
    Replies: 1
    Last Post: 28 Jun 2013, 07:45 PM
  5. FedEx SmartPost
    By thirtytwo16 in forum Addon Shipping Modules
    Replies: 3
    Last Post: 31 May 2013, 04:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR