WPRuby Blog

Explore our blog for expert tips on WordPress plugins, development, and eCommerce solutions to grow your online business.

How to Connect GLS Canada to WooCommerce: Rates, Labels and Pickups

Blog Image

GLS Canada, the parcel network formerly known as Dicom, delivers across Canada. But if you search for a GLS plugin for WooCommerce, most of what you find is built for GLS in Europe, which runs on a different system from GLS Canada. That leaves many Canadian stores typing every address into the GLS shipping site by hand.

This guide shows you how to connect GLS Canada to WooCommerce with WooCommerce GLS Canada Shipping Pro, so customers see live GLS rates at checkout and your team prints labels, books pickups and tracks parcels from the order screen.

What you need

  • A GLS Canada account with a login for the GLS Canada shipping site (ship.gls-canada.com) and your 6-digit Parcel billing account number. You ship at your own GLS prices.
  • API access on that account. GLS Canada switches it on for free when you ask (Step 1).
  • WooCommerce GLS Canada Shipping Pro, on WordPress 6.5 or newer, WooCommerce 8.9 or newer and PHP 8.1 or newer.
  • Product weights, and dimensions if you want to offer GLS Air. You can set a default weight and default parcel size for products that don’t have them.

GLS Canada’s Parcel service delivers within Canada only, so the plugin offers GLS rates and labels for Canadian addresses only. If you also ship to the United States or overseas, you’ll need a second carrier for those orders; see WooCommerce shipping in Canada: Canada Post vs GLS Canada.

Step 1: Ask GLS Canada to enable API access

GLS Canada has to turn on API access (called Smart4Integration) for your account before any plugin can connect. There’s no fee. Email [email protected] with your company name, your billing account number and the login e-mail you’ll use for the API, and ask for sandbox and production access. GLS Canada may ask you to confirm that you are the account holder.

Our guide on how to get your GLS Canada API access includes an e-mail you can copy.

Step 2: Enter your credentials and test the connection

Install and activate the plugin, then go to WooCommerce → GLS Canada Centre → Settings. Under Account, leave the environment on Sandbox and enter your API username (your GLS Canada login, usually an e-mail address), your API password and your 6-digit billing account. Save, then click Test Connection.

GLS Canada Centre account settings in WooCommerce: environment, API username, password and billing account

The plugin checks your login and billing account with GLS Canada and shows Connected when everything is right. If GLS requires references on your shipments, they’re listed here too. In the sandbox, nothing is shipped or billed, so you can test rates, labels and pickups safely.

Your password is encrypted and never shown again. If you’d rather keep it out of the database, you can define the credentials as constants in wp-config.php instead.

Step 3: Add your sender address and label settings

In Shipping Labels, enter your sender address. It’s printed on every label, it’s where GLS picks up your parcels, and it’s the origin GLS uses to price your rates. It must be a Canadian address, and the phone number is required.

Then choose:

  • Label size: a 4 × 5 in label, a 4 × 5 in peel-off label, or an 8.5 × 11 in sheet for a regular printer.
  • Residential delivery: GLS treats every shipment as commercial, with a signature required, unless it’s flagged as residential. By default the plugin flags an order as residential when it has no company name. You can change that rule, and add residential signature for orders that need one.
  • Order reference: send the WooCommerce order number to GLS and, if you like, print it on the label.

Step 4: Choose your GLS services and prices

In Shipping Rates, turn on Live rates and choose which services to offer:

  • GLS Ground, the everyday ground service.
  • GLS Air, GLS’s faster air service. It needs parcel dimensions, from your products, your boxes or the default parcel size.

You can rename each service, show the transit time next to the price (“2 business days”), and add a fixed or percentage handling fee. A negative percentage gives a discount instead. If your account has negotiated GLS prices, the plugin uses them when the account has GLS’s “Rate View” permission.

Prices always come from GLS. If GLS doesn’t return a price for a service on a given cart, that service simply isn’t shown, rather than showing a price that might be wrong.

Step 5: Set up packing

GLS prices each parcel, so the way items are packed changes the rate. In Packaging, choose one of three methods:

  • Individually: one parcel per item.
  • Weight-based: fill each parcel up to your maximum parcel weight.
  • Custom boxes: add the boxes you really use, and the plugin fits the items into the smallest box that holds them, trying every orientation.

Confirm your account’s maximum parcel weight with GLS, and decide what happens to an item that fits no box: ship it in its own parcel, or don’t offer GLS for that cart.

Step 6: Add GLS Canada to a shipping zone

Go to WooCommerce → Settings → Shipping, edit (or create) a zone that covers Canada, or the provinces or postal codes you want, and add the GLS Canada shipping method.

GLS Canada shipping method added to a WooCommerce shipping zone for Canada

Services, prices and packing are set once in the GLS Canada Centre and apply to every zone. In the zone itself you only set the method title and tax status. Then add a product to your cart, enter a Canadian address and check that the GLS services appear. Rates work on both the block checkout and the classic checkout.

Live GLS Ground and GLS Air rates with delivery estimates at WooCommerce checkout

Step 7: Create shipments and print labels

Open an order and click Open in Label Printer in the GLS Canada box. Check both addresses, adjust the parcels and options if you need to, then click Create shipment & label and print the PDF.

GLS Canada Label Printer in WooCommerce: addresses, service, parcels and delivery options

The tracking number is saved on the order. From the same screen you can reprint the label, download it again from GLS, or void the shipment. The plugin also blocks a second shipment for an order that already has an active one, so a double click doesn’t create two labels.

For many orders at once, open Bulk Fulfillment. It shows which orders are ready, creates their labels in the background, and lets you download them as one PDF or a ZIP file. See creating GLS labels in bulk.

Step 8: Request a pickup

GLS needs a pickup request for the shipments you create. In Labels Orders, select the shipments, click Request Pickup, and choose your ready time and closing time. Download the pickup manifest when GLS produces one. If GLS warns that a pickup isn’t guaranteed, the warning is shown to you and added to the order notes.

GLS Canada shipments and pickup requests in the Labels Orders screen

Step 9: Let tracking run on its own

GLS Canada doesn’t push tracking updates, so the plugin checks each parcel’s status in the background, every 1 to 24 hours as you choose. Customers see the tracking number and the latest status in My Account and in their order e-mails. Your WooCommerce order statuses are never changed automatically.

Step 10: Go live

When your tests look right, switch the environment to Production, enter your production credentials and run Test Connection again. Live rates can show at checkout straight away. Labels, pickups and bulk fulfillment stay locked until an administrator ticks Confirm live shipments, so nobody creates a billable shipment by accident.

GLS rates not showing?

Open Shipping Health in the GLS Canada Centre and click Run checks. Its 15 checks show what’s missing, such as credentials, the sender address or product weights. The most common causes are:

  • The shipping zone doesn’t include the customer’s address, or the address isn’t in Canada.
  • A product has no weight and there’s no default weight.
  • GLS Air is on but the parcel has no dimensions.
  • API access hasn’t been enabled yet, or the credentials are for the other environment.

More fixes are in GLS Canada troubleshooting.

Frequently asked questions

Is there a fee for the GLS Canada API?

No. GLS Canada enables API access for free. You pay GLS only for the shipments you create, at your account’s prices.

Does GLS Canada ship to the United States?

Not through GLS Canada’s Parcel service, so the plugin offers GLS for Canadian addresses only. Many stores add Canada Post for U.S. and international orders.

Can I use my negotiated GLS rates?

Yes. The plugin prefers your negotiated account rates when GLS returns them. Your billing account needs the “Rate View” permission; ask GLS Canada if your negotiated rates don’t appear.

Why does a residential delivery cost more?

GLS charges a surcharge for residential delivery, and treats shipments as commercial unless they’re flagged as residential. To include it in the price customers see, add residential delivery under Options included in quotes.

Can I print a GLS label for an order that used another shipping method?

Yes. The Label Printer works for any order with a Canadian address. It uses your default GLS service when the customer didn’t choose a GLS rate at checkout.

Does it work with the block checkout and HPOS?

Yes. It works with the WooCommerce block checkout, the classic checkout and High-Performance Order Storage.

Start shipping with GLS Canada from WooCommerce

WooCommerce GLS Canada Shipping Pro connects your store to GLS Canada’s own API: live rates at checkout, labels one order at a time or in bulk, pickups and tracking. Set it up in the sandbox first, then go live when you’re ready. Every setting is explained in the GLS Canada Centre settings guide.

Leave a Reply

Your email address will not be published. Required fields are marked *