Download the PHP package justinholtweb/craft-carrier-fedex without Composer

On this page you can find all versions of the php package justinholtweb/craft-carrier-fedex. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-carrier-fedex

Carrier for FedEx

FedEx for Carrier, the shipping-carrier gateway for Craft Commerce 5, through the FedEx REST APIs at apis.fedex.com.

This package translates the FedEx APIs and nothing else. Packing, checkout, label storage, bulk printing, tracking schedules, the location picker and the log all live in Carrier.

What it does

Rates Live rates for one service, or every service at once when a method shops. Your account rates (falling back to list rates), with transit days and an estimated delivery date
Labels Domestic and international, up to 40 packages in one shipment (one tracking number and label per package)
Label formats PDF 4×6, PDF on a US Letter sheet (label on the top half), ZPL (4×6 thermal) and PNG
Returns Print return labels
International Customs commodities and the commercial-invoice terms are built from Carrier's customs lines. Choose who pays duties: the recipient (DDU) or your account (DDP)
Void The whole shipment, by its master tracking number
Tracking Up to 30 numbers per request, with full scan history mapped onto Carrier's statuses, delivery dates and who signed
Locations Search for FedEx Office stores and retail counters (Walgreens, Dollar General, authorised ship centres) for the checkout picker, and ship to the chosen one with Hold at Location
Collections On-call pickups for FedEx Ground or FedEx Express (a setting chooses which)
Address validation Street-level validation with FedEx's corrected address and residential/business classification
Accessorials Signature, adult signature, Saturday delivery, residential delivery

Ships from the United States and Puerto Rico, in pounds and inches.

FedEx Ground and Home Delivery

FedEx treats Ground to a business and Ground to a home as two services, FEDEX_GROUND and GROUND_HOME_DELIVERY, and refuses the wrong one for the address. To a merchant they are one product. So:

FedEx Ground Economy (SMART_POST) is not offered. It needs a hub id and indicia that FedEx assigns per account.

Setting up

  1. Install Carrier, then this package: composer require justinholtweb/craft-carrier-fedex and php craft plugin/install carrier-fedex.
  2. At developer.fedex.com, create a project with the Ship, Rate, Track, Address Validation, Locations and Pickup APIs, and link your FedEx shipping account to it.
  3. Copy the project's API key and Secret key. FedEx issues separate keys for its sandbox and for production. Store them in environment variables.
  4. In Carrier → Connections, add a FedEx connection:
    • Environment: Sandbox (apis-sandbox.fedex.com) or Production. It must match the keys.
    • API key and Secret key: from step 3.
    • FedEx account number: the nine-digit account labels are billed to.
    • How parcels reach FedEx: drop-off, a regular scheduled pickup, or pickups you book. FedEx prices some services differently depending on this.
    • Pickups are for: FedEx books Ground and Express collections separately. Choose which one Carrier books, and book the other in FedEx Ship Manager.
    • Declare each parcel's value: off by default. Turning it on raises FedEx's liability above the included $100, which FedEx charges for.
    • International duties and taxes: who pays.
  5. Press Test connection. It requests a fresh access token from FedEx, which proves the keys.

Production labels need certification. Before FedEx enables production shipping for a project, it asks you to submit sample labels for approval. Plan for that before you go live.

The sandbox is not the real world. Sandbox rates are not your real prices, and sandbox tracking only knows FedEx's published mock tracking numbers.

Make sure your checkout collects a phone number. FedEx requires one for every shipper and recipient. Commerce addresses have no phone field, so map one in Carrier's settings.

Hold at Location

FedEx locations are searched live by ZIP code or city, so there is nothing to import. FedEx Office stores are listed as stores and other counters as shops. When a method requires a pickup point, the label is created with FedEx's Hold at Location service for the chosen location, and it is never treated as a residential delivery.

Not every FedEx location accepts Hold at Location parcels. If FedEx refuses one, the refusal is shown on the shipment.

Returns

A return label swaps the parties: the customer becomes the shipper and your store the recipient. It is billed to your account.

Unverified

This package was written against the FedEx OpenAPI files and API Reference Guide without a live account. These points are marked UNVERIFIED in the code and should be checked in the sandbox before you go live:

Requirements

Craft CMS 5.3+, Craft Commerce 5, Carrier 5, PHP 8.2+.

Licence

The Craft License. See Carrier, which is commercial.


All versions of craft-carrier-fedex with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
craftcms/cms Version ^5.3.0
justinholtweb/craft-carrier Version ^5.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package justinholtweb/craft-carrier-fedex contains the following files

Loading the files please wait ...