Magento 2 FedEx OAuth Shipping Extension User Guide - Installation & Configuration
Magento 2 FedEx OAuth Shipping Extension User Guide
This comprehensive guide will help you install, configure, and use the ToweringMedia FedEx OAuth Shipping Extension for Magento 2. This extension integrates with the FedEx OAuth REST API to provide real-time shipping rates at checkout.
Table of Contents
- Overview
- System Requirements
- Installation
- Configuration
- Testing
- Troubleshooting
- Frequently Asked Questions
Overview
The Magento 2 FedEx shipping extension provides a modern, secure way to display real-time FedEx shipping rates in your Magento 2 store. Unlike legacy FedEx modules, this extension uses the official FedEx OAuth REST API with OAuth 2.0 client credentials authentication.
Key Features
- Real-time FedEx rates - Get live shipping quotes directly from FedEx API
- FedEx OAuth authentication - Secure, modern authentication method
- FedEx REST API - Uses the latest FedEx shipping API
- Intelligent rate filtering - Shows best shipping options to customers
- Admin testing tools - Test connections and rates from Magento Admin
- Intelligent caching - Reduces API calls while maintaining accuracy
System Requirements
Magento Version
- Magento 2.4.x (Magento 2.4.7, Magento 2.4.8, and other 2.4.x versions)
- Compatible with both Magento Open Source and Adobe Commerce
PHP Requirements
- PHP 8.1 or higher (PHP 8.2 recommended)
FedEx API Credentials
- FedEx API Client ID
- FedEx API Client Secret
- Active FedEx API account
Installation
Step 1: Get Your License
Purchase the Magento 2 FedEx OAuth Shipping Extension from ToweringMedia. After purchase and invoicing, you'll receive Composer authentication credentials.
Step 2: Configure Composer Authentication
Add your credentials to auth.json in your Magento root directory.
Step 3: Install the Extension
composer require toweringmedia/magento-2-fedex-oauth-rest-api-shipping-extension
Step 4: Enable and Configure Magento
php bin/magento module:enable Toweringmedia_FedExRestApi
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
Configuration
Navigate to Stores → Configuration → Sales → Shipping Methods → FedEx OAuth to configure the extension.
Basic Configuration
- Enabled: Set to "Yes" to enable the shipping method
- Client ID: Enter your FedEx API Client ID
- Client Secret: Enter your FedEx API Client Secret
- Sandbox Mode: Enable for testing
Testing
Use the built-in test tools in Magento Admin to verify your configuration and test rate calculations.
Troubleshooting
Check logs and verify API credentials if you encounter issues. Review the FedEx API documentation for additional support.
Frequently Asked Questions
What is FedEx OAuth?
FedEx OAuth is the modern authentication method required by FedEx for accessing their REST API. It uses OAuth 2.0 client credentials instead of the legacy username/password method.
Do I need a FedEx account?
Yes, you need an active FedEx API account. You can sign up at the FedEx Developer Portal.