| 开发者 | danielpersdorf |
|---|---|
| 更新时间 | 2026年10月25日 23:04 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
You need a GLS business shipping contract with access to the ShipIT-Farm API:
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.
No, only the WooCommerce Cart and Checkout blocks are supported.
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).
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.
index.js is the minified file actually loaded in the browser. index.unminified.js is the same code, readable, included alongside it.