logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Wednesday, August 21, 2024 9:38:16 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Merchant obtained and I have installed the Fedex Oauth plugin.
I have set up test and production keys and added apis for Rates and Transit Times and Comprehensive Rates and Transit times (wasn't sure which to use).
I have tried both test mode and live mode and the log shows
Send: {
"Headers": [
{
"Key": "Content-Type",
"Value": [
"application/x-www-form-urlencoded"
]
}
]
}

The error log shows An error occured while connecting to FedEx API

I even tried using credentials that worked on a 9.0.7 site and they didn't work.
What is the solution?
Thanks

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Wednesday, August 21, 2024 10:51:25 AM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
I've been using FedEx Oath on several installs without any trouble. Please confirm the version you are using?

The instructions were modified slightly due to changes at the FedEx website. Make sure to use the correct API selections.

============= MIGRATING TO FEDEX OATH ============================

FedEx requires clients to obtain API keys through the FedEx Developer Portal.

1. Go to https://developer.fedex.com/api/en-us/home.html
2. Create a developer account with FedEx.
3. Access the My Projects page using the sidebar menu.
4. Create a Project. (you may need to create an Organization first)
5. Select the option "I work for a company that ships with FedEx and needs to integrate FedEx technology into their system."
6. Give your project a name.
7. Select the following 2 supported API's under Ship, Rate & Other APIs:

- Address Validation API
- Rates and Transit Times API

8. Continue and agree to the certification summary.
9. Accept terms (step 2) by reading and agreeing (I Accept) as shown on-screen.
10. Step 3 - configure the project by assigning a country and creating the project.

============= FEDEX DEVELOPER PROJECT ============================

Once the project is created, you can obtain test keys and production keys. Start by adding test keys.

1. Edit the project and view the Test Key tab.
2. Copy the API Key and save for configuration.
3. Copy the Secret Key and save.
4. Copy the Shipping Account number and save.

These 3 pieces of information will be needed for the AbleCommerce FedEx configuration page.
Follow the steps in the next section to install the FedEx plugin for AbleCommerce.

Use the Test Mode option within the AbleCommerce FedEx configuration page.

After testing, repeat Steps 1 through 4 above, but use the Production Key tab instead.
Change the Test Mode option to Live Mode within the AbleCommerce FedEx configuration page.
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
judy at Web2Market  
#3 Posted : Wednesday, August 21, 2024 11:44:18 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
The merchant had set up the project and apis earlier, but they look OK to me.
Version is CommerceBuilder.FedExOAuth: 9.9.8777.30670
Thanks
Katie S  
#4 Posted : Wednesday, August 21, 2024 12:23:11 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
That is the correct version. It should work.

Is the error you posted coming from the Fedex log or the app log?

Do you have anything that could be blocking the connection out to Fedex?

I installed this on a 9.0.7 site last week.
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
judy at Web2Market  
#5 Posted : Thursday, August 22, 2024 8:16:37 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I think it is something on the server. I was able to get rates on my local dev site for them using their credentials. I did have to change from daily pickup to Use Scheduled Pickup as was noted on another post in the forum.
judy at Web2Market  
#6 Posted : Tuesday, August 27, 2024 7:54:49 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
We made a copy of the site on a new server and the Fedex works now. The site was on an old VMWare server and there must be something network-related blocking the communication.
Katie S  
#7 Posted : Tuesday, August 27, 2024 10:55:35 AM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Thanks for the update Judy.
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.