Results 1 to 10 of 90

Threaded View

  1. #11
    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.

 

 

Similar Threads

  1. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 158
    Last Post: 25 May 2025, 07:40 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