Description
Pasts Expresspasts adds official Pasts Expresspasts options to WooCommerce checkout.
Main features:
- Supports both classic checkout and WooCommerce Checkout Blocks.
- Supports both WordPress posts order storage and WooCommerce High-performance order storage.
- Parcel locker and customer service location (post office) pickup shipping methods.
- Shipping method pricing rules by country, weight, amount, and box size.
- Label and manifest generation from the plugin orders.
- Calling courier for pickup.
- Debug logging for request and response troubleshooting.
External services
ExpressPasts API
This plugin connects to the Pasts ExpressPasts API which is also called Express Mail Customer Information System or EKIS. It is needed for most of the plugin functions – getting terminal or other location lists, creating shipments, getting labels, creating manifests, calling courier. Refer to the Privacy Policy in Latvian or the Privacy Policy in English and the Terms of Use in Latvian.
Esri ArcGIS
The plugin uses the Esri ArcGIS geocoding service (geocode.arcgis.com) to convert a postcode or address into geographic coordinates. This is required to sort and show the parcel lockers and customer service locations closest to the customer.
The postcode or address is sent to the service each time the customer searches for a pickup location or the closest location is calculated, both in the classic checkout and in the WooCommerce Checkout block. No other personal data is sent. Refer to the Esri Terms of Use and the Esri Privacy Statement.
Source code and build process
The WooCommerce Checkout block assets in assets/blocks/ (index.js, post-terminals-block.js, post-terminals-block-frontend.js) are compiled bundles. Their human-readable JavaScript (React/JSX) source is included with the plugin in the src/ directory.
The bundles are built with @wordpress/scripts and @woocommerce/dependency-extraction-webpack-plugin. To rebuild them, run the following from the src/ directory (requires Node.js and npm):
npm install
npm run build
Full build instructions are in src/BUILD.md.
Bundled third-party libraries
This plugin bundles the following minified third-party library. Its human-readable, non-minified source is publicly available from the linked upstream project, and the link is also included in the file headers.
- Datetimepicker for Bootstrap, version 3.1.3, by Jonathan Peterson (Eonasdan), MIT License. Files:
assets/js/datetimepicker/bootstrap-datetimepicker.min.jsandbootstrap-datetimepicker.min.css. Used for the pickup date/time selector on the courier manifest screen. Source: https://github.com/Eonasdan/bootstrap-datetimepicker
Installation
- Upload the plugin folder to
/wp-content/plugins/, or install from the WordPress Plugins screen. - Make sure WooCommerce is active.
- Activate Pasts Expresspasts.
- Go to WooCommerce > Settings > Shipping > Pasts Expresspasts.
- Enter API credentials and sender information.
- Configure shipping methods, pricing, and other settings and save changes.
- Go to WooCommerce > Settings > Shipping > Shipping zones.
- Add the Pasts courier delivery shipping method to the necessary shipping zones.
- Test the checkout.
FAQ
-
Where to get API credentials?
-
Reach out to Latvia Post directly for API credentials.
-
Where do I configure API credentials?
-
Go to WooCommerce > Settings > Shipping > Pasts Expresspasts and fill in your API key and sender details.
-
Is WooCommerce required?
-
Yes. This plugin extends WooCommerce shipping and requires WooCommerce to be installed and active.
-
Can I print labels and manifests from WooCommerce?
-
Yes. Labels and manifests can be generated from the plugin order management workflow in wp-admin.
Avis
Il n’y a aucun avis pour cette extension.
Contributeurs/contributrices & développeurs/développeuses
« Pasts Expresspasts » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Pasts Expresspasts » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal des modifications
1.5.0
- Security hardening and for initial release on WordPress.org.