Magento 2 ShipStation Shipping Carrier connect with UPS, Fedex, DHL, USPS, GlobalPost Rates

By | October 18, 2024
Spread the love

To connect Magento 2 with ShipStation as a shipping carrier for UPS, FedEx, DHL, USPS, and GlobalPost rates, you will typically follow these general steps. Here’s a high-level guide to get it done:

1. Set Up ShipStation Integration in Magento 2:

To integrate ShipStation with Magento 2, follow these steps:

Install the ShipStation Extension:

  • You can install the official ShipStation extension for Magento 2, either through the Magento Marketplace or via Composer:
    • Via Magento Marketplace: Go to the ShipStation page on Magento Marketplace and install the module.
    • Via Composer:
      bash
       
      composer require ecomplugins/shipstation
      php bin/magento module:enable Techgroup_ShipStation
      php bin/magento setup:upgrade
      

Configure ShipStation in Magento 2:

  1. Log in to your Magento 2 Admin panel.
  2. Go to Stores > Configuration.
  3. In the left sidebar, navigate to Sales > Shipping Methods.
  4. Locate ShipStation, enable it, and fill in the required credentials (API Key and API Secret).
    • You can find your API Key and Secret in your ShipStation account under Account Settings > API Settings.

2. Connect ShipStation with Shipping Carriers (UPS, FedEx, DHL, USPS, GlobalPost):

Once Magento 2 is connected with ShipStation, you’ll configure ShipStation to handle shipping rates from various carriers.

Setup Shipping Carriers in ShipStation:

  1. Log in to your ShipStation account.
  2. Navigate to Settings > Shipping > Carriers & Fulfillment.
  3. Click Add a Provider to connect the following carriers:
    • UPS: You can connect either a UPS account or ShipStation’s UPS rates.
    • FedEx: Enter your FedEx credentials to connect it.
    • DHL: You may connect DHL Express or other DHL services through integration.
    • USPS: ShipStation provides USPS through its Stamps.com integration.
    • GlobalPost: You can configure GlobalPost in ShipStation for international shipping options.

Each carrier may require the following information:

  • Account credentials (Account numbers, passwords, API keys, etc.)
  • Label format preferences
  • Package dimensions and weight

3. Configure Shipping Methods in Magento:

You may want to enable real-time shipping rates from ShipStation within Magento 2. To do this:

  1. Go to Stores > Configuration.
  2. Under Sales > Shipping Methods, configure each shipping carrier (UPS, FedEx, etc.) to fetch real-time rates using ShipStation.
  • Make sure that real-time rates are enabled in ShipStation for each carrier.
  • For accurate shipping rates, ensure that product weights and dimensions are set up correctly in your Magento catalog.

4. Test the Setup:

  • Once all configurations are complete, place a test order in your Magento store.
  • Ensure that real-time shipping rates from UPS, FedEx, DHL, USPS, or GlobalPost are being fetched correctly.
  • Confirm that the order appears in ShipStation, and that the correct carrier and shipping method are applied.

Additional Considerations:

  • Shipping Zones: You can create custom shipping zones for different regions to offer carrier-specific rates in certain areas.
  • Shipping Rules: ShipStation allows the creation of rules to automate carrier selection based on criteria such as weight, order value, or destination.

By following these steps, you can successfully integrate ShipStation with Magento 2 and fetch real-time rates from major carriers such as UPS, FedEx, DHL, USPS, and GlobalPost.

Would you like help with any specific part of this process?