Advanced FedEx Shipping API integration PHP Script

Advanced FedEx Shipping API integration PHP Script

5 sales

This Advanced FedEx Shipping API integration PHP Script enables you to get live shipping rates, check FedEx shipping service availability by Zipcode, track shipment status and create FedEx shipment including Multiple packages and International Priority shipment.

Click to Amount Pay in USD
Click to Amount Pay in INR

Via Credit/Debit Card & Net Banking

Details & Features

  • Live FedEx Shipping Rates by Postal Code
  • Check FedEx Shipping Service Availability by Zip Code
  • Create FedEx Shipment
  • Track FedEx Shipment via Tracking Number
  • Create International Shipping Label
  • Generate Multiple Shipment
  • FedEx 2 Day Saturday Pickup Label
  • FedEx 2 Day COD Label
  • FedEx 2 Day Dangerous Goods Label
  • FedEx 2 Day On Hold Label
  • FedEx 2 day Signature Required Label
  • FedEx Ground COD Label
  • FedEx Ground On Hold Label
  • FedEx Ground Signature Required Label
  • Soap WSDL API code
  • Parsed Response Data

This will generate various types of FedEx shipping labels. We have used FedEx Ground and FedEx Express service types to create shipment labels.

In this PHP script, we have used FedEx shipping Soap WSDL API web services. You can easily integrate these scripts on your Website using FedEx production access.

Configuration:

To configure this script, you need to use your FedEx Developer Key, Password, Account Number, and Meter Number in the config.php file

Use valid Shipper Address in API request call.

Must use valid StateOrProvinceCode and Postal Code value.

Important Note: This script working for FedEx Sandbox access. If you want to execute FedEx API call using Production access then change https://wsbeta.fedex.com:443/ with this https://ws.fedex.com:443/ in all WSDL files.

FedEx Test Environment WSDL endpoint: https://wsbeta.fedex.com:443/

FedEx Live Environment WSDL endpoint: https://ws.fedex.com:443/

For more details check FedEx developer official documentation:

Examples:

1. Get FedEx Shipping Rates Example Path: GetShippingRates/shipping-rates-form.php

2. Create FedEx Shipment Example Path: CreateShipment/shipping-label-form.php

3. Track FedEx Shipment Example Path: TrackShipment/track-shipment-form.php

4. Check FedEx Service Availability Example Path: ServiceAvailablity/service-availablity-form.php

Requirements

  • PHP 5.4+ (Recommended: PHP7 and above)
  • PHP CURL Extension
  • Enable Soap on Hosting Server
  • Active FedEx Shipping Account

Files Included:

  • FedEx Shipping Rates API Script
  • FedEx Service Availability API Script
  • FedEx Create Shipment and Generate Labels Script
  • FedEx Track Shipment Script
  • WSDL Files

Please Note:

This is a raw script and it is intended for the developer who wants to integrate FedEx Shipping API into their projects. You can create your own Strategy & functionalities as per your requirements by using this script.

FAQs:

Question: Why getting Authentication Failed error?

Ans: This error belongs to using the wrong FedEx Key and Password access in API request. If you are using the Sandbox endpoint service path in the WSDL file and trying to execute API requests using production access, then this error will occur.

Another case of getting this authentication error is until your generated Fedex Test Labels is not completed the FedEx evaluation process, you cant use production access to generate shipping labels. First, generate Test labels and send it to FedEx support for evaluation, then they will activate your production access.

Question: Is the Parent and User access credential is same?

Ans: If the user credential has a parent credential, in that case, this access can be different. However, most user credentials do not have a parent credential, so this element will ordinarily be omitted.

If the user does not have a parent credential then use the same key and password in both Parent and User parameters.

== Changelog ==

= 1.0.0 =
* Initial Release

Screenshots

On payment, you will get an email with the product. Need help? contact [email protected]

Recommended for you

jQuery Whatsapp Any Contact Form Plugin
$7 Buy Now
FedEx Shipping API Label Evaluation Script
$9 Buy Now
Advanced FedEx Shipping API integration PHP Script
$19 Buy Now
Country State City Dependent Dropdown List
$5 Buy Now

3 thoughts on “Buy”

Leave a Reply

Your email address will not be published. Required fields are marked *