The FedEx shipping driver for Shopper. It quotes real time rates at checkout and pulls the tracking timeline of every shipment into the order.
- PHP 8.3+
- Laravel 12.x or 13.x
shopper/frameworkinstalled and migrated
composer require shopper/fedexThe service provider is auto-discovered and registers the fedex driver on the shipping
manager. Enable it and add the credentials issued by the FedEx developer portal to .env:
SHIPPING_FEDEX_ENABLED=true
SHIPPING_SANDBOX=true
FEDEX_CLIENT_ID=...
FEDEX_CLIENT_SECRET=...
FEDEX_ACCOUNT_NUMBER=...A driver left disabled stays out of the carriers the admin offers, even once its credentials are filled in. Rates are quoted against the account number.
Shipments handed to FedEx are refreshed every thirty minutes by the shopper:shipments:sync-tracking
scheduled command from shopper/shipping. The driver does not generate labels: buy the label on
the FedEx portal and paste the tracking number on the shipment.
php artisan vendor:publish --tag=shopper-fedex-configThis publishes config/shopper/fedex.php.
Read the shipping documentation for carriers, fulfillment and the tracking scheduler.