Installation and setup
Requirements
Section titled “Requirements”- CS-Cart or Multi-Vendor 4.17.2 or later (Ultimate or Multi-Vendor edition).
- Administrator access to the store’s admin panel.
- A FedEx account number (the 9-digit number of the account that pays for shipments) and a project in the FedEx Developer Portal (developer.fedex.com): create a project, add the APIs Rates and Transit Times, Ship, Track, Address Validation and Pickup Request, and copy the API key (client ID) and secret key of the sandbox (test) and, after FedEx has approved the production key, of production. The FedEx Developer Portal explains how to move a project to production.
- A cron job on your server (see step 7).
Install the add-on
Section titled “Install the add-on”- Download the
kv_fedex_rest-<version>.zippackage from your Kavio Labs or CS-Cart Marketplace account. - In the admin panel, open Add-ons > Manage add-ons.
- Click the gear button and choose Manual installation, then upload the archive.
- Find FedEx REST Rates & Labels in the list and make sure its status is Active.
- Enter your license key under Settings > License (Kavio Labs downloads) and click Check now.
Connect FedEx
Section titled “Connect FedEx”- Open Orders > FedEx shipments and the Connection tab.
- Choose Test mode, enter the sandbox API key as client ID and the sandbox secret key as client secret, and the FedEx account number. Click Save and test: a green message means the credentials and the account number were accepted by the Rate API.
- Fill in the Ship-from address (where parcels are sent from and picked up). Empty fields use your store details under Settings > Company. FedEx needs a street address, city, ZIP / postal code, country and a phone number of 10 to 15 digits.
- Pick the defaults (packaging type, pickup type, label file type and stock, default package size). Leave the label stock empty to use the letter paper top-half label (PDF) or the 4x6 thermal label (PNG, ZPL).
- Switch to Live mode and enter the production keys only after a successful test; test again.
- Open Administration > Shipping & taxes > Shipping methods, add a method, choose the carrier FedEx REST Rates & Labels and one service under Rate calculation. Use the Configure tab for markup, rounding, free shipping and the fallback rate. Add one method per service you want to offer.
- Add the cron job from the settings page (Cron section), every minute is fine. Overlapping runs are prevented.
Multi-Vendor
Section titled “Multi-Vendor”By default the marketplace owner connects one account for all vendors (Marketplace owner mode on). Vendors can create labels and book pickups for their own orders only if you switch on Vendors may create labels; the marketplace owner’s FedEx account is billed then. Switch owner mode off to let each vendor connect their own FedEx account in the vendor panel (Connection tab); each vendor’s ship-from address is their own.
Update
Section titled “Update”- Upload the new package the same way. Your settings, credentials and data are kept.
- The add-on adds missing tables and settings by itself on the first request after the update.
See CHANGELOG for what changed in each version.
Uninstall
Section titled “Uninstall”Open Add-ons > Manage add-ons, click the add-on’s gear button and choose Uninstall. This removes the add-on’s settings, language variables, shipping services (with the shipping methods that use them) and database tables, including the stored credentials and labels.