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.

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.

The Envia Shipping and Fulfillment module, version 1.2.2, is what you use inside PrestaShop. Install now downloads the ZIP for that version. With the module you can:

  • Show Envia rates in the cart and at checkout, and choose carriers and services by country.
  • Show or hide the carrier logo and the estimated delivery time.
  • Offer branch pickup on a map, in a list, or both.
  • Generate the label from the order or from the order list, when the order can be quoted.
  • Review the quoted package: product name, SKU, dimensions, and weight, and choose the rate.
  • Choose the origin branch on the map for branch-to-door or branch-to-branch shipments.
  • Complete an international shipment: origin identification, destination identification, and export reason. Destination identification is prefilled from the billing address tax ID and you can correct it.
  • Get a notice if the HS code is missing, the balance is not enough, or label generation from the store is turned off in Envia.
  • Check the shipment status, such as created, out for pickup, in transit, out for delivery, delivered, or cancelled, and open the tracking screen.
  • Cancel the label and unlink the shipment from the order.
  • See the carrier, the service, and the Envia status in the order list, and open bulk shipments in Envia.
  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 version 1.2.2 ZIP 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).
  • Turn Carrier brand image to Yes to show the logo at checkout and on the label form.
  • Turn Delivery time to Yes to show the estimated time on checkout quotes.
  • Select Save.

Ecommerce checkout in the PrestaShop module

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

The Envia panel appears on the order detail when the shipment is from Envia. In Generate label you see the rate, the package, and, for an international shipment, the customs details.

  1. Open your PrestaShop store admin.
  2. Open Orders and enter the order.
  3. Select Generate label.
  4. In Rate, choose the service.
  5. In Package, review the Product name, SKU, Dimensions, and Weight.
  6. Fill in Weight, Length, Width, and Height. They must be greater than zero.
  7. Select Generate label.

When you see Label created, use Print label.

Origin branch appears for branch-to-door and branch-to-branch shipments. The map shows the points where you can drop off the package.

  1. Search by street, city, state, or postal code.
  2. Filter by Province, Locality, and Branch type: post office, warehouse, third party, or lockers.
  3. Choose the point on the map or in the list.
  4. Select Select.

Generate label form with the origin branch and the point map

If you do not choose a branch, the label is not generated and you see Select an origin branch for branch-to-home or branch-to-branch shipping.

Customs says Required for international shipments. Fill in Origin identification, Destination identification, and Export reason.

Destination identification is prefilled with the tax ID (DNI) from the billing address. Edit it if the customer entered it incorrectly.

Generate label form with the quoted package and customs details

The HS code is the customs classification of the product.

On the label you see the shipment status, for example Created, Out for pickup, In transit, Out for delivery, Delivered, or Cancelled. Track shipment opens the package tracking screen.

Cancel unlinks the shipment in Envia and removes the label from the order.

  1. On the order, next to the label, press Cancel.
  2. Confirm Unlink this shipment in Envia and remove the label from this order?

The Orders list shows two Envia columns.

Column What it shows
Envia shipping The shipment status. If the order can be quoted, the button opens Generate label.
Envia rate The carrier and the service chosen at checkout.

Bulk shipping in Envia opens Envia to process shipments in a batch. On the order, Open Envia.com opens that same shipment in Envia.

  • There is not enough balance in Envia to generate this label. Add balance and try again.
  • Label generation from the store is turned off in Envia. Turn it on in your account and try again.

The webservice key connects the store in Ecommerce Pro, without installing the module. Integrate opens that connection. With this option you set up shipping in Envia.com: origin address, packages, products, and checkout.

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.