FedEx Shipping API integration PHP ScriptFedEx Shipping API integration PHP Script
This FedEx Shipping API integration PHP Script enables you to get shipping rates, check service availability and create shipmentsFedEx Shipping API integration PHP Script
This FedEx Shipping API integration PHP Script enables you to get shipping rates, check service a...Overview
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. 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.
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
Requirements
- PHP 5.4+ (Recommended: PHP7 and above)
- PHP CURL Extension Enabled
- Enable Soap on Hosting Server
- Active FedEx Shipping Account
Instructions
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
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 can't 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.
Other items by this author
PHP Script Installation Service
Don't worry about the installation of your script! Have your PHP Script installed for you.
|
$39 | Buy now |
Category | Scripts & Code / PHP Scripts / Miscellaneous |
First release | 31 March 2021 |
Last update | 7 April 2023 |
Software version | PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, PHP 5.x, PHP 5.0, PHP 5.1, PHP 5.2, PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6 |
Files included | .php, .css, .html, .xml |
Tags | fedex shipping api integration, fedex api php script, fedex create shipment, track fedex shipment, fedex shipping rates, check fedex service availability, print fedex shipping labels, fedex api integration in php, fedex shipping api, fedex web integration |