Skip to content

Scheduled maintenance on Envia.com: Thursday, October 29, 12:00–12:30 a.m. Login, APIs, and operations will be unavailable.

Track

Prestashop

You can connect PrestaShop with Envia in two ways. Choose one and follow only that section.

The Envia Shipping and Fulfillment module shows rates in the cart and at checkout, and generates the shipping label from the order. Install now downloads the ZIP.

The webservice key connects the store in Ecommerce Pro. Integrate opens that connection.

Module. Use it if you want to quote at checkout and generate the shipping label in PrestaShop. Follow Install the module.

Webservice key. Use it if you want to connect the store from Ecommerce Pro, without installing the module. Follow Integrate with a webservice key.

There are settings in Envia.com and, if you use the module, also in PrestaShop. Even when they look alike, you set them on each platform. Origin and packages in the module become available when the status is Connected.

  1. Open your PrestaShop store admin.

  2. In Customize, open Modules > Module Manager.

  3. Select Upload a module.

    Upload a module in PrestaShop

  4. Choose the ZIP you downloaded and install it.

    Select the Envia module ZIP in PrestaShop

  5. When you see Module installed!, select Configure.

    Module installed. Configure button

If you closed that window, search for Envia Shipping and Fulfillment in the module manager and open it to configure it.

In Configure, the status appears as Not connected. The origin address and packages become available after you connect.

  1. In Connection, select Connect your store.

    Connect your store from the Envia module

  2. The Envia screen opens to integrate your ecommerce.

  3. Check your store URL and the key. The module usually fills them in; confirm them.

  4. Select Create.

    PrestaShop connection form in Envia

  5. Verify the email registered in Envia.com and click Continue.

When the connection is ready, the status in PrestaShop changes to Connected. You will see the Store ID, the Company ID, the module version, the PrestaShop API key (read only), and the Envia shipping token (saved when you connect).

If you already have it installed, download the ZIP again and upload it to replace the current one.

  1. In Customize, open Modules > Module Manager.
  2. Select Upload a module.
  3. Choose the new ZIP.

After updating, clear the cache so the store picks up the changes.

  1. In the side menu, open Advanced Parameters > Performance.
  2. In the upper-right corner, select Clear cache.

With the store Connected, in the module Configure screen you set origin, packages, checkout, and the settings that open in Envia.

The origin address is the warehouse shipments leave from. Checkout rates use that address.

  • In Origin address, open the Current origin list.
  • Choose the address that applies, or Default origin address.
  • If you need another one, select Add origin address.
  • Select Save.

Origin address in the PrestaShop module

Packages holds the saved packages used to generate shipping labels from orders. If you have not connected the store yet, this setting opens in Envia after you link it.

Packages in the PrestaShop module

You define what the buyer sees at the delivery step. This does not change shipping labels or quotes you already have open from the order. Rates are recalculated when the cart or order contents change.

  • Turn Live Envia shipping rates to Yes to show Envia quotes in the cart and at checkout.
  • Choose the carriers by country. Open the country (for example Mexico), check the carriers you want and, if you need to, open Services to choose which ones to quote.
  • If you offer branch delivery, turn on Enable pickup at the ecommerce checkout.
  • In Pickup display format, choose how the points are shown. (Map and list, list only, or map only).
  • In Maximum branches per carrier, set how many points to show (from 1 to 10; the closest first).
  • Select Save.

Ecommerce checkout in the PrestaShop module

Generate the shipping label from the order

Section titled “Generate the shipping label from the order”

On the order detail, the Envia panel only appears when the shipment is from Envia. Select Generate label. The form does not ask for the origin branch where you drop off the package.

Fallback rates are used when live quotes fail. Rate rules change the price shown at checkout (discount, increase, or fixed amount). Select Configure rate rules in Envia to set them in Envia.

Learn more

Rate rules in the PrestaShop module

These settings are the same as in Envia: insurance, declared value, return policy, and automatic fulfillment. Select Configure advanced settings in Envia.

Learn more

Advanced settings in the PrestaShop module

Decide which destinations see Envia rates, and configure carriers and zones for checkout. Select Configure shipping zones in Envia.

Learn more

Shipping zones in the PrestaShop module

This section does not use the module. You create a key in PrestaShop and paste it in Ecommerce Pro.

  1. Open your PrestaShop store admin.
  2. Open Advanced Parameters > Webservice.
  3. Select Add new webservice key.
  4. Complete the key and select Save.
Section Action
Key Generate a new key. You will paste it when you connect the store.
Key description Write a description for the key.
Status Leave it on Yes.
Permissions Review and set the permissions.

On the same screen, in Configuration, leave Enable PrestaShop’s Webservice on Yes. If you already saved the key, open it again to check.

  1. Sign in to your Envia.com account.
  2. Open Ecommerce Pro > Prestashop.
  3. Enter your store URL and select Continue.
  4. Paste the key and select Create.
  5. Verify the email registered in Envia.com and select Continue.

To confirm the URL, add /api/ at the end. If the browser asks for a username and password, the address is correct. See the PrestaShop documentation.

In Brazil, to show the Identification number field at checkout, follow these steps.

You make these settings in your Envia.com dashboard, whether you use the module or the webservice key.

Origin address and packages in Settings

Origin address and packages

Set where your shipments leave from and which packaging you use to calculate shipping rates.

Learn more

Products with weight and size for quoting

Products

Set the weight and size of each product. The system then calculates rates correctly and picks the right package.

Learn more

Store checkout with the shipping cost

Your store checkout

Show the shipping cost to the customer in real time when they buy. It improves the experience and avoids surprises.

Learn more

  • Confirm that the module is installed and that the status is Connected.
  • If Connect your store does not open Envia, sign in to your Envia account and try again.
  • If rates do not appear at checkout, check that Live Envia shipping rates is Yes and that there are active carriers for the buyer’s country.
  • If rates do not change when you edit the cart, clear the cache in Advanced Parameters > Performance.
  • If Origin address or Packages stay locked, the store is not connected yet.
  • If you do not see the Envia panel on the order, that shipment is not from Envia.

If 403 Forbidden or 400 appears while integrating, the firewall is blocking the API. Turn off the block for a moment or add these IPs to the whitelist:

  • 3.209.100.219
  • 34.224.235.111
  • 3.211.106.119
  • 35.173.225.189

Forbidden error when connecting the store

If you integrated several stores on the same root URL, run one integration per domain. For example, https://ejemplo.com/1 and https://ejemplo.com/2 are integrated separately, even though they share https://ejemplo.com.