Linux 软件免费装
Banner图

dgtl-labs Shipping with GLS for WooCommerce

开发者 danielpersdorf
更新时间 2026年10月25日 23:04
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shipping checkout gls germany parcelshop

下载

0.9.0

详情介绍:

dgtl-labs Shipping with GLS for WooCommerce connects a WooCommerce store to shipping with GLS: customers choose at checkout between delivery to their address and delivery to a GLS ParcelShop, and the store creates GLS shipping labels directly from the order and checks shipment status. Supported country: Germany. Built against GLS Germany's ShipIT-Farm API (not MyGLS, the API used by GLS' other national subsidiaries) — addresses, ParcelShop search, and translations are all for the German market. At checkout In the WordPress admin Requirements Known limitations (current version)

安装:

  1. In your WordPress admin, go to Plugins → Add New and search for "dgtl-labs Shipping with GLS for WooCommerce", or upload the plugin ZIP under Plugins → Add New → Upload Plugin.
  2. Activate the plugin. WooCommerce must be active — the plugin shows a notice and stays inactive otherwise.
  3. Go to WooCommerce → Settings → GLS Shipping and enter your GLS API credentials (see the FAQ for how to request them). The settings are pre-filled with the GLS sandbox endpoints so you can try the plugin before you have production credentials.
  4. Go to WooCommerce → Settings → Shipping, open a shipping zone, and add the "GLS Shipping" shipping method with a title and cost.

屏幕截图:

  • Default: home delivery, with a button to choose a ParcelShop instead.
  • ParcelShop search: map and the nearest shops.
  • Placing an order in ParcelShop mode without a chosen shop.
  • Full-screen ParcelShop picker.
  • A shop chosen in the full-screen picker.
  • Checkout with the chosen ParcelShop.
  • Full-screen picker on a phone.
  • Order confirmation naming the chosen ParcelShop.
  • Settings: WooCommerce → Settings → GLS Shipping.
  • Order screen with tracking number and label download.
  • Order notes after creating a label.
  • Order list with the GLS tracking column.

升级注意事项:

0.7.3 Adds a Sandbox/Live mode setting for the API endpoints. Existing sandbox settings keep working; no action needed unless you're switching to production.

常见问题:

How do I get GLS API credentials?

You need a GLS business shipping contract with access to the ShipIT-Farm API:

  1. Register at the GLS Developer Portal with a team e-mail address.
  2. Create a new app there.
  3. Activate the Authentication API v2 and ShipIT-Farm API v1 APIs for that app.
  4. Contact GLS IT support (it-kundensupport@gls-germany.com) with your team e-mail address, app ID, GLS Contact ID, shipping system ("WooCommerce with this plugin"), and the APIs you activated.
  5. Once approved, GLS provides your Client ID and Client Secret for production, your Contact ID, and both live API endpoints.

Can I try the plugin without a GLS contract yet?

Partially. The settings page defaults to sandbox mode and comes pre-filled with GLS's sandbox endpoint URLs, so you don't need to look those up yourself — but a Client ID and Client Secret from GLS are still required before ParcelShop search, label creation or the connection test will work; there's no credential-free test mode. GLS has granted sandbox access to developers without an existing shipping contract on request before — contact GLS (see "How do I get GLS API credentials?" above) and ask specifically about sandbox/technology-partner access.

Does this work with the classic (shortcode) checkout?

No, only the WooCommerce Cart and Checkout blocks are supported.

Why wasn't a label created for my order?

The order notes and the "Create GLS shipping label" action show the reason — usually a missing item weight (set a product weight or a default package weight in the settings), missing API credentials, or GLS rejecting the shipment (the exact message from GLS is shown; check the address and, for optional services like FlexDelivery, whether it's booked in your GLS contract).

What data is shared with third parties?

The checkout map tiles are loaded from OpenStreetMap in the customer's browser, which sees the customer's IP address — this belongs in your store's privacy policy. The ParcelShop search itself runs through your server; only the ZIP code and country are sent to GLS. Creating a label sends the customer's delivery address, e-mail address and phone number to GLS, as with any shipping carrier.

Why does /build contain both index.js and index.unminified.js?

index.js is the minified file actually loaded in the browser. index.unminified.js is the same code, readable, included alongside it.

更新日志:

0.9.0 0.7.3 0.7.2 0.7.1 0.7.0 0.6.0 0.5.1 0.5.0 0.4.0 0.3.2 0.3.1 0.3.0 0.2.2 0.2.1 0.2.0 0.1.1 0.1.0