Skillmerc Shipping for The Courier Guy, Pudo and PAXI
South African shipping for WooCommerce: The Courier Guy and Fastway live rates, Pudo (now Lockers) with a locker picker, and PAXI at PEP stores.
Install in
Support: please write to kyle@skillmerc.com or see https://skillmerc.com/support/. We do not answer in the wordpress.org forum.
Video walkthrough (76 seconds), adding Pudo locker shipping with this plugin: https://youtu.be/C54qC8eVKow
This plugin adds four shipping methods for South African WooCommerce stores:
- The Courier Guy (door to door): live rates from the ShipLogic API that The Courier Guy uses. Each service level on your account (for example Economy) shows as its own option, or you can limit it to the codes you choose.
- Pudo locker: door to locker rates from Pudo (The Courier Guy Locker). The customer picks a locker at checkout, and the plugin quotes the smallest locker box (XS to XL) that fits the cart.
- Fastway (door to door): live rates from Fastway Couriers South Africa. You choose the Fastway franchise that collects your parcels, and the customer sees each Fastway parcel service for their address (for example Local or Road), with satchel prices as an option. It uses a free Fastway API key; the default limit is 100 calls a day and rates are cached to save calls.
- PAXI (collect at a PEP store): the customer picks a PAXI point on the official PAXI map at checkout. PAXI has no public rates API, so you set the Economy and Speed prices yourself (defaults R59.95 and R109.95; check your current PAXI price list).
The Courier Guy, Pudo and Fastway methods share these settings in each shipping zone (Fastway uses a pickup franchise in place of the sandbox switch and sender address):
- Sandbox or live API key
- Sender address
- Default parcel size and weight for products without dimensions
- Markup in rand and percent (or a discount with a negative number)
- Free shipping over an order amount
- A fallback flat rate that shows when the courier’s rates call fails, times out or returns nothing, so a rates outage does not leave customers with “no shipping method”. The Pudo method is hidden instead while its locker list cannot be loaded (see the FAQ)
The PAXI method has its own prices, labels, an optional maximum cart weight and a free shipping threshold.
The plugin does not change your billing or shipping address fields.
Locker and PAXI point picker
When the Pudo method is selected, a locker list appears under the shipping options. Lockers in the customer’s postal code, town and province are listed first, and a search box filters the list. The chosen locker is checked against the Pudo locker list.
When a PAXI rate is selected, a “Choose a PAXI point” button opens the PAXI map. The point the customer picks is checked (it must be a PAXI node code such as P1234) and the order cannot be placed without one.
The chosen locker or PAXI point is saved on the order and shown on the admin order screen, the order received page and order emails.
Checkout block and classic checkout
Both pickers work on the Checkout block (the default on new WooCommerce stores) and on the classic [woocommerce_checkout] shortcode checkout. On the Checkout block the picker appears below the shipping options and shows up to 200 lockers, best address match first. The choice is saved through the WooCommerce Store API and checked again on the server when the order is placed.
What this version does not do
Version 0.1 quotes rates and records the locker or PAXI point. It does not book collections, print waybills or send tracking updates. Book shipments in your The Courier Guy, Pudo, Fastway or PAXI account as usual. The optional Pro version adds booking for The Courier Guy only.
External services
This plugin connects to these services. It sends data only when rates are calculated in the cart or checkout, when the Pudo locker list is refreshed (at most every 12 hours), or when the customer opens the PAXI map.
- ShipLogic / The Courier Guy (api.shiplogic.com for sandbox keys, api.portal.thecourierguy.co.za for live keys): used for door to door rates. Sends your sender address, the customer’s delivery address (street, suburb, city, province, postal code, company), the parcel size and weight, and the cart value as declared value. Terms: https://thecourierguy.co.za/terms-conditions/ Privacy: https://thecourierguy.co.za/privacy-policy/
- Pudo (The Courier Guy Locker): used for locker rates and the locker list. Rates (sandbox.api-pudo.co.za for sandbox, api-tcg.co.za for live): sends your API key, your sender address, the chosen locker code and the parcel size and weight. Locker list (Pudo’s public list: sandbox.api-pudo.co.za/api/v1/guest/lockers-data for sandbox, api-pudo.co.za/api/v1/guest/lockers-data for live): a plain download that sends no API key and nothing about your store’s orders or customers. Like every request WordPress makes, it comes from your server’s IP address and carries your site address in the user agent. If the public list cannot be loaded, the plugin asks the rates host for the list with your API key, as versions before 0.1.4 did. Pudo is now The Courier Guy Locker, covered by the same terms (https://thecourierguy.co.za/terms-conditions/) and privacy policy (https://thecourierguy.co.za/privacy-policy/).
- Fastway Couriers South Africa (sa.api.fastway.org): used for Fastway door to door rates. Sends your API key, your pickup franchise code, the customer’s town or suburb and postal code, and the parcel weight. Website terms: https://www.fastway.co.za/terms-and-conditions/website-terms-of-use/ Privacy: https://www.fastway.co.za/media/2467/privacy-and-protection-of-personal-information-fastway-june-2021.pdf
- PAXI map (map.paxi.co.za, run by PAXI, part of the Pepkor group): when the customer clicks “Choose a PAXI point”, the map loads in a frame in the customer’s browser. The plugin sends nothing to PAXI itself; the map page is loaded from PAXI’s servers (which see the customer’s IP address and browser details) and it may use Google Maps and Google Analytics. Only the chosen point (code, name, address) comes back to your store. Terms and privacy policy: https://www.paxi.co.za/terms-conditions
You need your own account and API key with The Courier Guy and Pudo, and a free Fastway API key from sa.api.fastway.org for Fastway rates. PAXI parcels are sent through your own PAXI account or a PEP store.
Pro version (optional)
Skillmerc Shipping Pro books The Courier Guy shipments from the WooCommerce order screen, downloads the label PDF, adds the tracking reference to the customer’s completed order email and My Account, books up to 50 orders at once from the orders list, and shows the courier status in an orders column. Pudo and PAXI booking are not included yet. Prices and the 14-day money-back guarantee are on the checkout page: https://checkout.freemius.com/plugin/43024/plan/74888/licenses/1/
This free plugin shows a short Pro panel at the bottom of its own The Courier Guy method settings and a “Get Pro” link on the Plugins screen. You can hide the panel, it is never shown as an admin notice, and nothing in the free plugin is locked or time-limited.
Written by Joobi from the project's own listing. See the source page
0.1.9
- Added: one short line on the WooCommerce Orders list (legacy and HPOS) about the optional Pro version, for users who can manage WooCommerce. “Hide this” removes it for that user for good. It is not shown while Pro is active, or to a user who already hid the Pro panel on the shipping settings. It makes no remote calls.
- Changed: Pudo is now also named by its new name, Lockers, in this readme and in the Pudo method’s name and description in the shipping settings. The method’s ID and saved settings are not changed, and a method title you saved stays as it is.
0.1.8
- Fixed: Pudo lockers marked offline in Pudo’s locker list are left out of the locker picker, because The Courier Guy cannot deliver to an offline locker. If no locker is online, the list is shown as before. The change applies from the next locker list refresh (the list is kept for 12 hours).
0.1.7
- Fixed: a Pudo locker list saved before the 7 day copy existed is now also saved as the 7 day copy the first time it is used, so a Pudo outage right after an update still finds a list.
- Fixed: a Fastway answer that carries an error (for example a rejected key or the daily limit) is kept for 2 minutes like any failed call, not 10 minutes like a rate list, and without the API key in it.
- Changed: the fallback rate help on the Pudo method says that Pudo is hidden while the locker list cannot be loaded or when the cart fits no locker box.
- Changed: the External services section says how often the locker list is asked for after a failed download.
- Changed: the Pro section of this readme and the Pro panel on The Courier Guy method settings now say that Pro also books Pudo locker shipments. PAXI and Fastway booking are not included.
0.1.6
- Fixed: a rate, markup, weight, size or free shipping amount that is not a number is no longer saved. The settings screen names the field and says what to enter, and the last good value stays in place.
0.1.5
- Fixed: the order’s shipping line shows “Courier service” instead of the internal name skm_cls_service.
- Changed: the Pro button on The Courier Guy method settings no longer shows a price. Prices are on the checkout page.
0.1.4
- Fixed: the Pudo locker list now loads from Pudo’s public locker list, which needs no API key. Before, the plugin asked for the list with your API key. For some Pudo accounts Pudo’s server answered that request with HTTP 500, so the locker picker had no lockers and Pudo could not be offered at checkout. The Courier Guy’s API support told us the locker list is public and needs no API key.
- Changed: if the public list cannot be loaded, the plugin asks for the list with your API key as before, and after that uses the saved list (kept for up to 7 days). If no list is available, Pudo stays hidden, as in 0.1.3.
- Changed: the locker list is about 6 MB. Where your server allows it, the list is now saved to a temporary file on your server and read one locker at a time, so loading it needs little PHP memory. The file is deleted straight after. If a download fails or cannot finish, the plugin waits two minutes before it tries again and Pudo is hidden in that time, unless a saved list exists.
- Not changed: Pudo rates still need your API key.
0.1.3
- Fixed: when Pudo’s locker list cannot be loaded, the Pudo method is no longer shown at checkout. Before, it showed at the fallback rate and the order was then blocked because no locker could be chosen. Pudo comes back by itself when the list loads again.
- Changed: the last good Pudo locker list is kept for up to 7 days and used while Pudo’s list is down, so a store that already had the list keeps its locker picker.
- Fixed: the Pudo picker lists lockers only. Kiosks and pickup points in Pudo’s list are left out, because this method quotes door to locker only.
- Fixed: Fastway error messages written to the WooCommerce log no longer include your Fastway API key.
0.1.2
- Added: Fastway (door to door) shipping method with live Fastway Couriers South Africa rates, a pickup franchise setting and optional satchel prices. Uses the same parcel defaults, markup, free shipping threshold and fallback rate as the other methods.
- Fixed: uninstall now also removes the Fastway method from shipping zones.
0.1.1
- Added: a short, dismissible panel describing the optional Pro version on The Courier Guy method settings, and a Get Pro link on the Plugins screen. No changes to rates or checkout.
0.1.0
- First release: The Courier Guy door to door rates, Pudo door to locker rates with a locker picker, PAXI collection with the PAXI map, pickers for the Checkout block and the classic checkout, fallback rate, markup, free shipping threshold.
0.1.8
- Fixed: Pudo lockers marked offline in Pudo’s locker list are left out of the locker picker, because The Courier Guy cannot deliver to an offline locker. If no locker is online, the list is shown as before. The change applies from the next locker list refresh (the list is kept for 12 hours).
0.1.7
- Fixed: a Pudo locker list saved before the 7 day copy existed is now also saved as the 7 day copy the first time it is used, so a Pudo outage right after an update still finds a list.
- Fixed: a Fastway answer that carries an error (for example a rejected key or the daily limit) is kept for 2 minutes like any failed call, not 10 minutes like a rate list, and without the API key in it.
- Changed: the fallback rate help on the Pudo method says that Pudo is hidden while the locker list cannot be loaded or when the cart fits no locker box.
- Changed: the External services section says how often the locker list is asked for after a failed download.
- Changed: the Pro section of this readme and the Pro panel on The Courier Guy method settings now say that Pro also books Pudo locker shipments. PAXI and Fastway booking are not included.
0.1.6
- Fixed: a rate, markup, weight, size or free shipping amount that is not a number is no longer saved. The settings screen names the field and says what to enter, and the last good value stays in place.
0.1.5
- Fixed: the order’s shipping line shows “Courier service” instead of the internal name skm_cls_service.
- Changed: the Pro button on The Courier Guy method settings no longer shows a price. Prices are on the checkout page.
0.1.4
- Fixed: the Pudo locker list now loads from Pudo’s public locker list, which needs no API key. Before, the plugin asked for the list with your API key. For some Pudo accounts Pudo’s server answered that request with HTTP 500, so the locker picker had no lockers and Pudo could not be offered at checkout. The Courier Guy’s API support told us the locker list is public and needs no API key.
- Changed: if the public list cannot be loaded, the plugin asks for the list with your API key as before, and after that uses the saved list (kept for up to 7 days). If no list is available, Pudo stays hidden, as in 0.1.3.
- Changed: the locker list is about 6 MB. Where your server allows it, the list is now saved to a temporary file on your server and read one locker at a time, so loading it needs little PHP memory. The file is deleted straight after. If a download fails or cannot finish, the plugin waits two minutes before it tries again and Pudo is hidden in that time, unless a saved list exists.
- Not changed: Pudo rates still need your API key.
0.1.3
- Fixed: when Pudo’s locker list cannot be loaded, the Pudo method is no longer shown at checkout. Before, it showed at the fallback rate and the order was then blocked because no locker could be chosen. Pudo comes back by itself when the list loads again.
- Changed: the last good Pudo locker list is kept for up to 7 days and used while Pudo’s list is down, so a store that already had the list keeps its locker picker.
- Fixed: the Pudo picker lists lockers only. Kiosks and pickup points in Pudo’s list are left out, because this method quotes door to locker only.
- Fixed: Fastway error messages written to the WooCommerce log no longer include your Fastway API key.
0.1.2
- Added: Fastway (door to door) shipping method with live Fastway Couriers South Africa rates, a pickup franchise setting and optional satchel prices. Uses the same parcel defaults, markup, free shipping threshold and fallback rate as the other methods.
- Fixed: uninstall now also removes the Fastway method from shipping zones.
0.1.1
- Added: a short, dismissible panel describing the optional Pro version on The Courier Guy method settings, and a Get Pro link on the Plugins screen. No changes to rates or checkout.
0.1.0
- First release: The Courier Guy door to door rates, Pudo door to locker rates with a locker picker, PAXI collection with the PAXI map, pickers for the Checkout block and the classic checkout, fallback rate, markup, free shipping threshold.
0.1.7
- Fixed: a Pudo locker list saved before the 7 day copy existed is now also saved as the 7 day copy the first time it is used, so a Pudo outage right after an update still finds a list.
- Fixed: a Fastway answer that carries an error (for example a rejected key or the daily limit) is kept for 2 minutes like any failed call, not 10 minutes like a rate list, and without the API key in it.
- Changed: the fallback rate help on the Pudo method says that Pudo is hidden while the locker list cannot be loaded or when the cart fits no locker box.
- Changed: the External services section says how often the locker list is asked for after a failed download.
- Changed: the Pro section of this readme and the Pro panel on The Courier Guy method settings now say that Pro also books Pudo locker shipments. PAXI and Fastway booking are not included.
0.1.6
- Fixed: a rate, markup, weight, size or free shipping amount that is not a number is no longer saved. The settings screen names the field and says what to enter, and the last good value stays in place.
0.1.5
- Fixed: the order’s shipping line shows “Courier service” instead of the internal name skm_cls_service.
- Changed: the Pro button on The Courier Guy method settings no longer shows a price. Prices are on the checkout page.
0.1.4
- Fixed: the Pudo locker list now loads from Pudo’s public locker list, which needs no API key. Before, the plugin asked for the list with your API key. For some Pudo accounts Pudo’s server answered that request with HTTP 500, so the locker picker had no lockers and Pudo could not be offered at checkout. The Courier Guy’s API support told us the locker list is public and needs no API key.
- Changed: if the public list cannot be loaded, the plugin asks for the list with your API key as before, and after that uses the saved list (kept for up to 7 days). If no list is available, Pudo stays hidden, as in 0.1.3.
- Changed: the locker list is about 6 MB. Where your server allows it, the list is now saved to a temporary file on your server and read one locker at a time, so loading it needs little PHP memory. The file is deleted straight after. If a download fails or cannot finish, the plugin waits two minutes before it tries again and Pudo is hidden in that time, unless a saved list exists.
- Not changed: Pudo rates still need your API key.
0.1.3
- Fixed: when Pudo’s locker list cannot be loaded, the Pudo method is no longer shown at checkout. Before, it showed at the fallback rate and the order was then blocked because no locker could be chosen. Pudo comes back by itself when the list loads again.
- Changed: the last good Pudo locker list is kept for up to 7 days and used while Pudo’s list is down, so a store that already had the list keeps its locker picker.
- Fixed: the Pudo picker lists lockers only. Kiosks and pickup points in Pudo’s list are left out, because this method quotes door to locker only.
- Fixed: Fastway error messages written to the WooCommerce log no longer include your Fastway API key.
0.1.2
- Added: Fastway (door to door) shipping method with live Fastway Couriers South Africa rates, a pickup franchise setting and optional satchel prices. Uses the same parcel defaults, markup, free shipping threshold and fallback rate as the other methods.
- Fixed: uninstall now also removes the Fastway method from shipping zones.
0.1.1
- Added: a short, dismissible panel describing the optional Pro version on The Courier Guy method settings, and a Get Pro link on the Plugins screen. No changes to rates or checkout.
0.1.0
- First release: The Courier Guy door to door rates, Pudo door to locker rates with a locker picker, PAXI collection with the PAXI map, pickers for the Checkout block and the classic checkout, fallback rate, markup, free shipping threshold.
0.1.6
- Fixed: a rate, markup, weight, size or free shipping amount that is not a number is no longer saved. The settings screen names the field and says what to enter, and the last good value stays in place.
0.1.5
- Fixed: the order’s shipping line shows “Courier service” instead of the internal name skm_cls_service.
- Changed: the Pro button on The Courier Guy method settings no longer shows a price. Prices are on the checkout page.
0.1.4
- Fixed: the Pudo locker list now loads from Pudo’s public locker list, which needs no API key. Before, the plugin asked for the list with your API key. For some Pudo accounts Pudo’s server answered that request with HTTP 500, so the locker picker had no lockers and Pudo could not be offered at checkout. The Courier Guy’s API support told us the locker list is public and needs no API key.
- Changed: if the public list cannot be loaded, the plugin asks for the list with your API key as before, and after that uses the saved list (kept for up to 7 days). If no list is available, Pudo stays hidden, as in 0.1.3.
- Changed: the locker list is about 6 MB. Where your server allows it, the list is now saved to a temporary file on your server and read one locker at a time, so loading it needs little PHP memory. The file is deleted straight after. If a download fails or cannot finish, the plugin waits two minutes before it tries again and Pudo is hidden in that time, unless a saved list exists.
- Not changed: Pudo rates still need your API key.
0.1.3
- Fixed: when Pudo’s locker list cannot be loaded, the Pudo method is no longer shown at checkout. Before, it showed at the fallback rate and the order was then blocked because no locker could be chosen. Pudo comes back by itself when the list loads again.
- Changed: the last good Pudo locker list is kept for up to 7 days and used while Pudo’s list is down, so a store that already had the list keeps its locker picker.
- Fixed: the Pudo picker lists lockers only. Kiosks and pickup points in Pudo’s list are left out, because this method quotes door to locker only.
- Fixed: Fastway error messages written to the WooCommerce log no longer include your Fastway API key.
0.1.2
- Added: Fastway (door to door) shipping method with live Fastway Couriers South Africa rates, a pickup franchise setting and optional satchel prices. Uses the same parcel defaults, markup, free shipping threshold and fallback rate as the other methods.
- Fixed: uninstall now also removes the Fastway method from shipping zones.
0.1.1
- Added: a short, dismissible panel describing the optional Pro version on The Courier Guy method settings, and a Get Pro link on the Plugins screen. No changes to rates or checkout.
0.1.0
- First release: The Courier Guy door to door rates, Pudo door to locker rates with a locker picker, PAXI collection with the PAXI map, pickers for the Checkout block and the classic checkout, fallback rate, markup, free shipping threshold.
Follow this listing's changes (Atom feed)