The Send24 Logistics Plugin integrates Send24's delivery services into your WooCommerce store. It allows customers to choose between Hub Delivery and Door Delivery directly from the WooCommerce checkout page.
- Download the plugin from the GitHub repository.
- Upload the plugin to your WooCommerce site via Plugins > Add New or extract the ZIP file and upload the
send24-shipping
folder to the/wp-content/plugins/
directory. - Activate the plugin through the Plugins menu in WordPress.
- Go to WooCommerce > Settings > Shipping > Send24 Logistics to configure your API keys and other settings.
- Navigate to WooCommerce > Settings > Shipping > Send24 Logistics.
- Enter your Test API Key and Live API Key, which you can obtain from your Send24 account.
- In the Send24 Logistics settings, you will find an option to switch between Test Mode and Live Mode.
- When Test Mode is enabled, the plugin will use the test API key for order creation, allowing you to test without creating real shipments.
- Navigate to WooCommerce > Settings > Shipping > Shipping Zones.
- Click on Add Shipping Method and select Send24 Logistics from the list of available shipping methods.
- Configure shipping costs and zones where Send24 shipping is available.
-
On the checkout page, the Send24 Shipping option will be available in the shipping methods section.
-
When Send24 Shipping is selected, a modal will appear with two delivery options:
- Hub Delivery: Customers can select a hub near their destination address.
- Door Delivery: The package is delivered directly to the customer’s address.
-
For Hub Delivery, customers will be presented with a list of nearby hubs based on the entered destination address and can select their preferred hub for pickup.
- When the customer completes an order and selects Send24 Shipping, the plugin will trigger the Send24 order creation process via the woocommerce_thankyou hook.
- The plugin collects order details such as:
- Customer name
- Shipping address
- Chosen delivery method (Hub or Door)
- Selected hub (if Hub Delivery is chosen)
- Product details (size, fragility, label)
- The order is then sent to the Send24 API using the appropriate API key (Test or Live, based on settings).
- Upon successful creation, the order information is logged and visible in the WooCommerce Orders section.
- Enable Debug Logs: Navigate to WooCommerce > Settings > Send24 Logistics and enable the "Enable Debug Logs" option.
- Logs will be saved to the
wp-content/debug.log
file. Logs will include API requests, responses, and any errors encountered. - Common errors include network timeouts, incorrect API keys, or invalid shipping data.
Version 1.0.0:
- Initial release with Hub Delivery and Door Delivery options.
- Integration with Send24 API for shipping order creation.
This plugin is open-source software licensed under the MIT License.