FedEx shipping modifier for BurnBright's Shop Module
FedEx shipping modifier for BurnBright's Shop Module that provides a quote for the order being shipped through FedEx. Note that you must have each shippable project with dimentions and weights for the quote to be accurate.
If you prefer you may also install using composer:
composer require webbuilders-group/silverstripe-shop-fedex-shipping
To use this modifier you must add the FedExShippingModifer class to your shop configuration.
Order:
modifiers:
- "FedExShippingModifier"
You then need to apply for credentials to access the FedEx api, you can do this via their developer portal. You need to set your credentials you will receive from the portal in your site's config.yml.
FedExShippingModifier:
test_mode: true #Places the endpoint in test mode, for live set this to false
test_api_key: "YOUR_TEST_API_KEY"
test_api_password: "YOUR_TEST_API_PASSWORD"
test_account_number: "YOUR_TEST_ACCOUNT_NUMBER"
test_meter_number: "YOUR_TEST_METER_NUMBER"
api_key: "YOUR_LIVE_API_KEY"
api_password: "YOUR_LIVE_API_PASSWORD"
account_number: "YOUR_LIVE_ACCOUNT_NUMBER"
meter_number: "YOUR_LIVE_METER_NUMBER"
origin_address: "ADDR" #Shipper's address
origin_address_line2: "ADDR_LINE_2" #Second line of the shipper's address (optional)
origin_city: "CITY" #Shipper's city
origin_state_province_code: "STATE" #Your 2 character state/province code for the shipper's address
origin_postal_code: "ZIP_POSTAL" #Shipper's postal code/zip code
origin_country_code: "COUNTRY" #Your 2 character country code for the shipper's address
service_type: "FEDEX_GROUND" #The service type you want to retrieve quotes for, see bellow for more information
default_charge: 0 #Default amount to charge for shipping should the api return an invalid response
For the service_type
configuration option you need to pick from one of the service types bellow.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem