Forums / Addon Shipping Modules / FedEx Shipping using REST API

FedEx Shipping using REST API

Sticky

Views: 34,276

Results 61 to 80 of 100
13 May 2024, 9:08 PM
#61
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

FedEx Shipping using REST API

swguy:

Why yes there is. Take a look in the plugins library and you'll see it.

https://www.zen-cart.com/downloads.php?do=file&id=2375

Sorry Scott! Total brain fart. I was looking at the GitHub repository which was still at 1.3.1. Thanks for setting me straight! :)

  • Jeff
13 May 2024, 10:37 PM
#62
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: FedEx Shipping using REST API

I should have created a Github release to make this more obvious. Yet another step!

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.

30 May 2024, 7:33 PM
#63
firebug avatar

firebug

New Zenner

Join Date:
Mar 2011
Location:
Georgia
Posts:
26
Plugin Contributions:
0

Re: FedEx Shipping using REST API

Is there a way to enable Always Free Shipping with FedEx REST API v1.2? The reason I asked is I would like to display the TEXT_PRODUCT_FREE_SHIPPING_ICON on product details pages and product listings pages and offer expedited shipping for items that are marked "Yes, Always Free Shipping" but if a product is marked "Yes, Always Free Shipping" it will not show the expedited shipping options.

Attachment 20632

Attachment 20633

I have ZC v1.5.7c and I have upgraded from FedEx Web Services to FedEx REST API v1.2

30 May 2024, 10:18 PM
#64
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: FedEx Shipping using REST API

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.

30 May 2024, 11:19 PM
#65
firebug avatar

firebug

New Zenner

Join Date:
Mar 2011
Location:
Georgia
Posts:
26
Plugin Contributions:
0

Re: FedEx Shipping using REST API

It would but when you set a product to "No, Normal Shipping Rules" it removes the Free Shipping Icon from the product but allows the FedEx module to show the expedited shipping options as well as the free shipping option. If you change to "Yes, Always Free Shipping" the Free Shipping Icon comes back but does not show the expedited shipping options, only the free shipping option.

Attachment 20634

31 May 2024, 12:09 AM
#66
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: FedEx Shipping using REST API

Correct, this is for order total free shipping.

The behavior you are described is part of Zen Cart; you'd have to write custom code to disable it.

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.

31 May 2024, 4:30 PM
#67
firebug avatar

firebug

New Zenner

Join Date:
Mar 2011
Location:
Georgia
Posts:
26
Plugin Contributions:
0

Re: FedEx Shipping using REST API

Thank you for helping me understand. I've been using FedEx Web Services module for years and it had the option to Enable for Always Free Shipping to allow the free shipping to be show as an option as well as other expedited shipping methods and allowed the free shipping icon to show on all products marked as Always Free Shipping.

Attachment 20636

31 May 2024, 7:09 PM
#68
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: FedEx Shipping using REST API

You are right - the old one had features the new one doesn't have.

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.

27 Jun 2024, 8:05 PM
#69
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
376
Plugin Contributions:
0

Re: FedEx Shipping using REST API

FedEx Service Upcoming Interruptions & Outage Notifications (RESTful APIs and FDP) for July 2024

Please be advised of the following important service update from FedEx. Due to required maintenance, customers using FedEx Restful APIs and the FedEx Developer Portal will be unable to process certain transactions during the time periods listed below:

Production Environment Intermittent Disruptions:
Start Date: Saturday, July 13, 2024, 9:00p.m. CT
End Date: Sunday, July 14, 2024, 5:00 a.m. CT
Expected Duration: 8 hours
Affected Functionality: All RESTful APIs and FedEx Developer Portal

Addtional Info: none at this time

16 Jul 2024, 8:51 PM
#70
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
376
Plugin Contributions:
0

Re: FedEx Shipping using REST API

It seems the FedEx api maintenance last weekend didn't work very well. It looks like the API was down only for less than 20 mins on my end.

So here is another notice from FedEx for the following weekend...

July 16, 2024

FedEx Service Upcoming Interruptions & Outage Notifications RESTful APIs and FDP for July 2024

Please be advised of the following important service update from FedEx. Due to required maintenance, customers using FedEx RESTful APIs and the FedEx Developer Portal will be unable to process certain transactions during the time periods listed below:

Test Environment Outage:
Start Date: Saturday, July 20, 2024, 9:00 p.m. CT
End Date: Sunday, July 21, 2024, 1:00 a.m. CT
Expected Duration: 4 hours
Affected Functionality: All RESTful APIs and FedEx Developer Portal

NOTE: Full Outage 9 p.m. to 11 p.m. CT; Intermittent Outage 11 p.m. to 1 a.m. CT

Production Environment Outage:
Start Date: Saturday, July 20, 2024, 9:00 p.m. CT
End Date: Sunday, July 21, 2024, 1:00 a.m. CT
Expected Duration: 4 hours
Affected Functionality: All RESTful APIs and FedEx Developer Portal

NOTE: Full Outage 9 p.m. to 11 p.m. CT; Intermittent Outage 11 p.m. to 1 a.m. CT

What you should do:
Please ensure the appropriate team members are aware of this important update. In the days ahead of the dates listed above, check the FedEx Developer Portal Announcement page for more specific details about expected duration, affected functionality and severity. We regret any inconvenience due to these service interruptions.

If you have questions or need technical assistance, please visit the Support Page for dedicated support phone number or contact your FedEx Customer Technology representative.

Thank you for your time and attention. We appreciate your business.

19 Jul 2024, 7:27 PM
#71
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
376
Plugin Contributions:
0

Re: FedEx Shipping using REST API

Another update from FedEx

Due to potential impacts from a global IT outage experienced by a third-party software vendor, FedEx has postponed the planned Test and Production Environments outages scheduled for Saturday, July 20 at 9 PM CT and for Saturday, July 27 at 8 PM CT.

We will be in touch as soon as new dates are scheduled. Thank you for your understanding.

19 Jul 2024, 7:56 PM
#72
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: FedEx Shipping using REST API

I don't think this is the best place to post the FedEx schedule. Let's save this for issues with the software. Thanks.

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.

6 Aug 2024, 8:19 PM
#73
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: FedEx Shipping using REST API

Contractors who install FedEx for their customers please note:

In order to get a production API key, you require a Shipping Account to be associated with your developer account.
The creation of a shipping account must be done by an employee (not a contractor) of the firm that is doing the shipping.
To make this a bit more clear, I updated the documentation to put the shipping account creation up front. Get your client to do this, then you can do the rest.

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.

25 Aug 2024, 10:21 PM
#74
bubbadood avatar

bubbadood

New Zenner

Join Date:
Mar 2012
Location:
NJ
Posts:
49
Plugin Contributions:
0

Re: FedEx Shipping using REST API

Temporary fix for zc210 requirements (you can use this until author officially releases an update to get your plugin working)

the following file needs to be created as \includes\languages\english\modules\shipping\lang.fedexrest.php

<?php// Language file for FedEx REST API 


$define = [


    'MODULE_SHIPPING_FEDEX_REST_TEXT_TITLE' => 'FedEx',
    'MODULE_SHIPPING_FEDEX_REST_TEXT_DESCRIPTION' => '<h2>FedEx REST API</h2><p>You will need to have registered an account with FedEx to use this module. Please see the README.md file.</p>',


// For locales other than en_US please see 
// https://developer.fedex.com/api/en-mx/guides/api-reference.html#locales


    'MODULE_SHIPPING_FEDEX_REST_TEXT_LOCALE' => 'en_US',


// Email if bad credentials
    'MODULE_SHIPPING_FEDEXREST_EMAIL_SUBJECT' => 'The fedexrest shipping method has been automatically disabled',
    'MODULE_SHIPPING_FEDEXREST_INVALID_CREDENTIALS' => 'The API Key/Secret Key combination you set were not recognized by FedEx, and so the fedexrest shipping module has been automatically disabled.  Please work with your FedEx Account Rep to get working credentials.',
    'MODULE_SHIPPING_FEDEXREST_SATURDAY' => ' (Saturday)',


];
return $define;

I was a shy, quiet kid. I was happiest playing by myself with my toys, rather than hanging around people.
-- Christian Slater

28 Aug 2024, 7:33 AM
#75
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: FedEx Shipping using REST API

Actually, the requirement for a lang.{whatever}.php file for shipping/payment/order-total modules for zc210 is no longer active; the {whatever}.php language-file will now work just find.

It's always good to keep code up with the base, though!

28 Aug 2024, 10:35 AM
#76
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: FedEx Shipping using REST API

Thanks for keeping a sharp eye on the release notes, @Bubbadood! The documentation has been updated to clarify this requirement, which now only applies to encapsulated plugins for modules.

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.

23 Sep 2024, 8:35 PM
#77
kdoronzio avatar

kdoronzio

New Zenner

Join Date:
Jun 2004
Posts:
4
Plugin Contributions:
0

Re: FedEx Shipping using REST API

Hi there Scott!

I'm starting to work with your new FedEx for REST shipping module primarily for international shipments. One issue that I'm running into is how you handle maximum weight. (under configuration > shipping/packaging)

It works as I'd expect for domestic shipping - if you exceed the maximum weight, start another box. But for international, the FedEx module is no longer an option once you exceed the maximum weight.

Also, do you honor the tare weight and "larger packages" settings? (also under configuration > shipping/packaging). How does Zen Cart determine if a package is "larger?"

Thanks for this and all your contributions to the community.

23 Sep 2024, 10:25 PM
#78
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: FedEx Shipping using REST API

It works as I'd expect for domestic shipping - if you exceed the maximum weight, start another box. But for international, the FedEx module is no longer an option once you exceed the maximum weight.

The FedEx module doesn't do anything with this, but FedEx itself might reject packages over a certain weight to certain destinations; you'd need to review the documentation to see what the restrictions are.

Also, do you honor the tare weight and "larger packages" settings? (also under configuration > shipping/packaging).

These things are handled by the Zen Cart infrastructure.

How does Zen Cart determine if a package is "larger?"

https://docs.zen-cart.com/user/shipping/shipping_calculations/

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.

15 Oct 2024, 9:00 PM
#79
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: FedEx Shipping using REST API

A couple of people have reported that today, FedEx returned a bad code that caused the module to be disabled. I removed this logic for now until I have time to investigate further.

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.

6 Dec 2024, 7:42 AM
#80
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: FedEx Shipping using REST API

swguy:

A couple of people have reported that today, FedEx returned a bad code that caused the module to be disabled. I removed this logic for now until I have time to investigate further.

I hate to ask this, but was this fixed? I still have a disabled FedEX module even though I've entered new API credentials for both. The only thing I have is an API log that shows no response from FedEX.