Laravel FedEx Shipping User Guide
Shipping cost is one of the last things a customer sees before they buy, and a wrong or missing rate is one of the fastest ways to lose the sale.
The FedEx Shipping extension connects your Bagisto store directly to the FedEx API, so the rates at checkout are the real, live rates for the customer’s address and the items in their cart — no flat guesses, no manual price lists.
Once an order is placed, the extension does the fulfilment work for you: it creates the FedEx shipment,generates the shipping label, records the tracking number, and lets you schedule a FedEx pickup without leaving the admin panel.
Complete feature list
- Real-time FedEx rates at checkout — every eligible FedEx service is quoted live for the customer’s cart and shipping address.
- Multiple FedEx services — offer First Overnight, Priority Overnight, 2 Day, Express Saver, Ground and more, and choose exactly which services to show.
- Sandbox and live modes — test end to end against FedEx sandbox, then switch to live with one setting.
- Automatic shipment & label creation — the FedEx shipment and PDF label are generated when the order is placed.
- Shipment tracking — the FedEx tracking number is stored on the shipment and links straight to FedEx tracking.
- FedEx pickup scheduling — request or cancel a FedEx pickup from the shipment screen.
- Domestic and international — international shipments include the customs and commercial-invoice details FedEx requires.
- Weight- and dimension-aware — uses each product’s weight and dimensions, with configurable box defaults as a fallback.
- Fully translatable — every label ships in all of Bagisto’s supported languages.
Installation
Install the package into your Bagisto project, register it, and run the installer.
Step 1: Add the package to your project’s autoloader in the root composer.json:
"autoload": {
"psr-4": {
"Webkul\\FedExShipping\\": "packages/Webkul/FedExShipping/src"
}
}
Step 2: Update the autoloader:
composer dump-autoload
Step 3: Register the service provider in bootstrap/providers.php:
use Webkul\FedExShipping\Providers\FedExShippingServiceProvider;
return [
FedExShippingServiceProvider::class,
];
Step 4: Run the install command to publish views and run migrations:
php artisan fedexshipping:install
Admin configuration
Go to Configure >> Sales >> Shipping Methods and open the FedEx Shipping section. Turn Status on and fill in your FedEx account and API details.
FedEx will not appear at checkout until the account and API credentials are saved.
Credentials and mode
Status: Turns the FedEx method on or off. When it is on, the product length, width and height become required so accurate rates can be calculated.
Title and Description: The name and text your customers see for FedEx at checkout.
Account ID: Your FedEx account number.
Client ID and Client Secret: Your FedEx API key and secret, used for rates, labels and pickups.
Track Client ID and Track Client Secret: The API key and secret used for tracking requests.
Mode: Choose Development to test against FedEx sandbox, or Live to charge real shipments.
Shipper and package details
Shipper Email, Shipper Name, Phone Extension and Phone Number: The origin contact details FedEx prints on the shipment.
Packaging Type and DropOff Type: How the parcel is packed and handed to FedEx.
Weight Unit and Length Class: The units FedEx should use — pounds or kilograms, inches or centimeters.
Services: The FedEx services you want to offer. Only the services you select here are quoted at checkout.
Box Length, Box width and Box Height: Default parcel dimensions, used when a product has none of its own.
Pickup defaults
Pickup Package Location, Pickup Building Type and Delivery Instructions: The defaults used when you schedule a FedEx pickup for a shipment.
The customer’s experience
A customer adds products to the cart and goes to checkout as usual.
After they enter a shipping address, the Shipping Method step shows every FedEx service you offer, each with its live price for that address and cart. The customer picks the one that fits their budget and delivery date.
Managing shipments in the admin panel
When a FedEx order is placed, the extension creates the shipment, generates the FedEx label and stores the tracking number for you. You manage everything from Sales >> Shipments.
Open a shipment to see its FedEx details — the service used, the shipping price, the customer and the inventory source it ships from — alongside the actions for that shipment.
From the shipment screen you can:
- Download the label — the FedEx PDF shipping label is ready to print.
- Track the shipment — the tracking number links straight to FedEx tracking.
- Schedule a pickup — request a FedEx pickup at your origin address, choosing the date and time.
- Cancel a pickup — cancel a pickup you no longer need.
Click Pickup to open the Pickup Request form. Choose the pickup date and close time, use your default origin address or enter another, and save — the request goes straight to FedEx.
Support
So, that was much about the User Guide of Laravel eCommerce Quote System module for any queries or doubts reach out to us at support@webkul.com. You can also raise a ticket at our HelpDesk System.
Please explore our Laravel Development Services and Quality Bagisto Extensions.