Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 58
  1. #21
    Join Date
    Jan 2014
    Location
    United States
    Posts
    11
    Plugin Contributions
    0

    Default Re: FedEx Shipping using REST API

    I've configured this module as follows:
    Shipping from address is located in the United States (Ohio).
    Ship From address is residential - False
    Ship To address is residential - True
    Pickup type - 1 or 3 - Doesn't matter
    Enable International Priority - True
    Enable International Economy - True
    Enable International Ground - True
    Enable Saturday Delivery - True
    International Ground Handling Fee - Doesn't matter
    International Express Handling Fee - Doesn't matter
    No tax class
    Signature Option -1
    Insurance -1
    FedEx Rates - Account
    Show Estimated Transit Time - False
    Shipping zone - None
    Sort Order - 0

    I'm experiencing the following issues with this module. (Testing this on a Sunday):
    1. International Priority rates do not show to Canada even though they are enabled. Economy and Ground show fine.
    2. Shipping to Australia - No options show.
    3. I've also noticed if I "Show Estimated Transit Time" as true no shipping methods show to Canada or Australia today. United States rates show fine.

    For Australia I'm testing with: Sippy Downs QLD 4556
    For Canada I'm testing with: Kenora, ON P9N 2X9 and CALGARY, AB T3K1L5

    FedEx Web Services is still working properly when installed side by side. All rates are showing with postal codes.

  2. #22
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,722
    Plugin Contributions
    124

    Default Re: FedEx Shipping using REST API

    I haven't done any international testing - will check.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #23
    Join Date
    Apr 2019
    Posts
    245
    Plugin Contributions
    0

    Default Re: FedEx Shipping using REST API

    Quote Originally Posted by cloud9 View Post
    I've configured this module as follows:
    Shipping from address is located in the United States (Ohio).
    Ship From address is residential - False
    Ship To address is residential - True
    Pickup type - 1 or 3 - Doesn't matter
    Enable International Priority - True
    Enable International Economy - True
    Enable International Ground - True
    Enable Saturday Delivery - True
    International Ground Handling Fee - Doesn't matter
    International Express Handling Fee - Doesn't matter
    No tax class
    Signature Option -1
    Insurance -1
    FedEx Rates - Account
    Show Estimated Transit Time - False
    Shipping zone - None
    Sort Order - 0

    I'm experiencing the following issues with this module. (Testing this on a Sunday):
    1. International Priority rates do not show to Canada even though they are enabled. Economy and Ground show fine.
    2. Shipping to Australia - No options show.
    3. I've also noticed if I "Show Estimated Transit Time" as true no shipping methods show to Canada or Australia today. United States rates show fine.

    For Australia I'm testing with: Sippy Downs QLD 4556
    For Canada I'm testing with: Kenora, ON P9N 2X9 and CALGARY, AB T3K1L5

    FedEx Web Services is still working properly when installed side by side. All rates are showing with postal codes.
    I just tested it according to @cloud9. My result is worse. I cannot get an intl/priority quote from Australia and Canada. I don't use Intl ground so I disabled it.

    1. No shipping quote to Sippy Downs QLD 4556. I tried several different addresses in Australia. No quote neither.

    2. Kenora, ON P9N 2X9. No quote. Moncton, NB E1A 6W3. No quote.

  4. #24
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    41
    Plugin Contributions
    0

    Default Re: FedEx Shipping using REST API

    Using ZenCart 1.5.7d and the latest release. Initially the module was working and customers were getting FedEx options however a few hours later and I see the following error in the logs:

    Code:
    --> PHP Warning: Undefined variable $timeout in /includes/modules/shipping/fedexrest.php on line 424.
    Not sure if this is what is causing FedEx to not display any results. Any help would be appreciated.
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  5. #25
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    41
    Plugin Contributions
    0

    Default Re: FedEx Shipping using REST API

    I think I may have found the issue. When I originally tested I used a product that did not trigger the signature option which I had set for $300 USD. Once I added a product that was over $300 which triggered the signature option, the module failed to post a FedEx shipping option. For not I have set the signature option to -1 which has resolved my issue.

    Let me know if you need any additional information to test this.
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  6. #26
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,722
    Plugin Contributions
    124

    Default Re: FedEx Shipping using REST API

    includes/modules/shipping/fedexrest.php line 292 (just before the call to curl_init) do

    $timeout = 15;

    that solves the log. I will test to figure out the other issue. Thanks for reporting.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #27
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,722
    Plugin Contributions
    124

    Default Re: FedEx Shipping using REST API

    The signature required issue is fixed in the latest version.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #28
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    41
    Plugin Contributions
    0

    Default Re: FedEx Shipping using REST API

    Quote Originally Posted by swguy View Post
    The signature required issue is fixed in the latest version.
    Most appreciated for all your work!
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  9. #29
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    41
    Plugin Contributions
    0

    help question Re: FedEx Shipping using REST API

    Code:
    [24-Sep-2023 13:26:16 America/New_York] Request URI: /index.php?main_page=shopping_cart, IP address: 189.169.117.105, Language id 1#0 /includes/modules/shipping/fedexrest.php(303): zen_debug_error_handler()
    #1 /includes/modules/shipping/fedexrest.php(213): fedexrest->getRates()
    #2 /includes/classes/shipping.php(201): fedexrest->quote()
    #3 /includes/modules/shipping_estimator.php(151): shipping->quote()
    #4 /includes/templates/responsive_classic/templates/tpl_shopping_cart_default.php(204): require('/homepages/46/d...')
    #5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/homepages/46/d...')
    #6 /index.php(94): require('/homepages/46/d...')
    --> PHP Warning: Undefined array key "street_address" in /includes/modules/shipping/fedexrest.php on line 303.
    
    
    [24-Sep-2023 13:26:16 America/New_York] Request URI: /index.php?main_page=shopping_cart, IP address: 189.169.117.105, Language id 1
    #0 /includes/modules/shipping/fedexrest.php(304): zen_debug_error_handler()
    #1 /includes/modules/shipping/fedexrest.php(213): fedexrest->getRates()
    #2 /includes/classes/shipping.php(201): fedexrest->quote()
    #3 /includes/modules/shipping_estimator.php(151): shipping->quote()
    #4 /includes/templates/responsive_classic/templates/tpl_shopping_cart_default.php(204): require('/homepages/46/d...')
    #5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/homepages/46/d...')
    #6 /index.php(94): require('/homepages/46/d...')
    --> PHP Warning: Undefined array key "suburb" in /includes/modules/shipping/fedexrest.php on line 304.
    
    
    [24-Sep-2023 13:26:16 America/New_York] Request URI: /index.php?main_page=shopping_cart, IP address: 189.169.117.105, Language id 1
    #0 /includes/modules/shipping/fedexrest.php(305): zen_debug_error_handler()
    #1 /includes/modules/shipping/fedexrest.php(213): fedexrest->getRates()
    #2 /includes/classes/shipping.php(201): fedexrest->quote()
    #3 /includes/modules/shipping_estimator.php(151): shipping->quote()
    #4 /includes/templates/responsive_classic/templates/tpl_shopping_cart_default.php(204): require('/homepages/46/d...')
    #5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/homepages/46/d...')
    #6 /index.php(94): require('/homepages/46/d...')
    --> PHP Warning: Undefined array key "city" in /includes/modules/shipping/fedexrest.php on line 305.
    
    
    [24-Sep-2023 13:26:16 America/New_York] Request URI: /index.php?main_page=shopping_cart, IP address: 189.169.117.105, Language id 1
    #0 /includes/modules/shipping/fedexrest.php(313): zen_debug_error_handler()
    #1 /includes/modules/shipping/fedexrest.php(213): fedexrest->getRates()
    #2 /includes/classes/shipping.php(201): fedexrest->quote()
    #3 /includes/modules/shipping_estimator.php(151): shipping->quote()
    #4 /includes/templates/responsive_classic/templates/tpl_shopping_cart_default.php(204): require('/homepages/46/d...')
    #5 /includes/templates/responsive_classic/common/tpl_main_page.php(178): require('/homepages/46/d...')
    #6 /index.php(94): require('/homepages/46/d...')
    --> PHP Warning: Undefined array key "postcode" in /includes/modules/shipping/fedexrest.php on line 313.
    Are these issues due to the version of PHP (8.1.23) I'm using or is there an actual issue?
    I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
    -- Christian Slater

  10. #30
    Join Date
    Oct 2023
    Posts
    1
    Plugin Contributions
    0

    Default Re: FedEx Shipping using REST API

    @swguy thanks for doing that.

    @cloud9 @njcyx Were you able to figure out the international shipping errors? I am experiencing the same thing.

    Store details:
    Version = 1.5.8a (new install from scratch)
    PHP = 8.0.30
    Fedex Rest API 1.0

    Fedex Rest API settings
    Shipping from address is located in - Canada.
    Ship From address is residential - False
    Ship To address is residential - True
    Pickup type - 3
    Enable Express Saver - False
    Enable Standard Overnight - False
    Enable First Overnight - True
    Enable Priority Overnight - False
    Enable 2 Day - True
    Enable International Priority - False
    Enable International Economy - True
    Enable Ground - True
    Enable Saturday Delivery - False
    International Ground Handling Fee - Doesn't matter
    International Express Handling Fee - Doesn't matter
    No tax class
    Signature Option -1
    Insurance -1
    FedEx Rates - Account
    Show Estimated Transit Time - True
    Shipping zone - None
    Sort Order - 0

    I am running into the same problem. I'm located in Canada, the Fedex REST API is able to give shipping costs for addresses I use within Canada. However, no international shipping quotes are able to be given including to the US and/or Australia. I believe the reason is listed below.


    Code:
    2023-10-01 23:39:18: Rate Response: Array
    (
        [transactionId] => //redacted//
        [errors] => Array
            (
                [0] => Array
                    (
                        code => RATE.CUSTOMCLEARANCEDETAIL.INVALID
                        [message] => Customs clearance detail cannot be null.
                    )
    
            )
    
    )
    The logs state this.

    Code:
    // I removed the full paths for security. //
    
    [01-Oct-2023 23:34:09 UTC] Request URI: /index.php?cmd=modules&set=shipping&module=fedexrest&action=edit, IP address: XXX.XXX.XXX.XXXX, Language id 1
    #1  fedexrest->setTypes() called at /includes/modules/shipping/fedexrest.php:142]
    #2  fedexrest->__construct() called at /modules.php:187]
    #3  require(/modules.php) called at [/index.php:11]
    --> PHP Warning: Trying to access array offset on value of type null in /includes/modules/shipping/fedexrest.php on line 188.

    The error line in log above does seem to jump around for the line item, not sure why but that's what the logs states.

    I believe there is either some fields missing from the fedex Rest API 1.0 shipping module to handle required international customs fields that is in the API. That is why it's giving the error about custom clearance detail = null. I'm assuming because the fedex rest api shipping module isn't passing that through it's being flagged.

    I may be wrong, but is there any way to test this and if so, update the fedex rest api shipping module? I'm really hoping to use fedex to ship the store's packages. Thanks.
    Last edited by JJW2009; 4 Oct 2023 at 05:48 PM.

 

 
Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 122
    Last Post: 26 Apr 2024, 05:15 PM
  2. PayPal Express Checkout with REST API
    By kanine in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 19 Jun 2022, 05:23 AM
  3. Rest api?
    By skywalker826 in forum General Questions
    Replies: 4
    Last Post: 31 Aug 2013, 04:30 PM
  4. Suomen verkkomaksut (SVM) REST API payment module
    By pasi in forum Addon Payment Modules
    Replies: 3
    Last Post: 9 Mar 2013, 09:57 AM
  5. Fedex Signature required option in fedex api
    By jeba in forum Addon Shipping Modules
    Replies: 0
    Last Post: 15 Oct 2009, 08:48 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