Results 1 to 10 of 98

Hybrid View

  1. #1
    Join Date
    Apr 2019
    Posts
    345
    Plugin Contributions
    0

    Default Re: FedEx Shipping using REST API

    Quote Originally Posted by njcyx View Post
    That is so smart! Thanks!
    Hi @carlwhat, I just tested your suggested code. Unfortunately, I received the following error:

    PHP Parse error: syntax error, unexpected '(', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$'

    I did some study and test. If I changed the last line as your suggested into:

    'shipDateStamp' => $shipDate->format('Y-m-d'),

    Then it works.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: FedEx Shipping using REST API

    Quote Originally Posted by njcyx View Post
    Hi @carlwhat, I just tested your suggested code. Unfortunately, I received the following error:

    PHP Parse error: syntax error, unexpected '(', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$'

    I did some study and test. If I changed the last line as your suggested into:

    'shipDateStamp' => $shipDate->format('Y-m-d'),

    Then it works.
    sorry about that. but yes that is the way to do it. not sure how i screwed that up. but glad you got that working.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Jan 2014
    Location
    United States
    Posts
    12
    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.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    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.

  5. #5
    Join Date
    Apr 2019
    Posts
    345
    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.

  6. #6
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    49
    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

  7. #7
    Join Date
    Mar 2012
    Location
    NJ
    Posts
    49
    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

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    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.

 

 

Similar Threads

  1. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 191
    Last Post: 29 Jun 2026, 01:17 AM
  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

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