Walley Shipping Module

Walley Shipping Module

Walley Checkout for WooCommerce was previously known as Collector Checkout for WooCommerce and there may be some remnants of this in the documentation or plugin. For instance in the code snippets and/or some of the settings.

Introduction


Walley Shipping Module is a service provided by Walley. This optional feature makes it possible to display shipping options in the Walley iframe provided by your TMS (currently nShift Checkout).


Requirements


  • Your Walley account needs to be activated for Walley Shipping Module before using the service.
  • You need to have an agreement with nShift regarding nShift Checkout.
  • Requires WooCommerce together with Walley Checkout for WooCommerce to be used.
  • Walley Shipping Module is used for handling the shipping methods in your store. However, it is still required to have at least one native WooCommerce shipping method active for each shipping zone you enabled Walley Shipping Module.

Configuration


  1. Navigate to –> WooCommerce –> Settings –> Payments and select Walley Checkout.
  2. Tick the Walley nShift Delivery checkbox for the country that you want to enable the service. This setting replaces the old “Shipping Module <country>” option.
  3. Custom Profile <country> let you set the profile (see profileName in Walley’s docs). If empty, it defaults to the profile name “Shipping”.
  1. Save the payment gateway settings.
  2. Navigate to –> WooCommerce –> Settings –> Shipping.
  3. For every country you have activated Collector Delivery module, you must add a Walley Shipping Module shipping method.
  1. Make sure that the Walley Shipping Module shipping method is the first shipping method in the list of available shipping methods for the zone that you are configuring.

If everything is working fine you should be able to see the shipping methods provided by your TMS in the Walley iframe now:


Shipping data in WooCommerce order


When an order has been created in WooCommerce, the name and price of the selected shipping method in the Walley Checkout iframe is added to the order.

The selected shipping service and pickup point (if existing) is also displayed in the order details area:

The entire shipment data sent from Walley for the order is also stored in the WooCommerce order, as an order meta field with the name _collector_delivery_module_data. This data is stored as a json object with the following structure:

{
	"provider": "nShift",
	"status": "pending",
	"carrierName": "DHL Service point",
	"carrierId": "6254453a-fc0c-414d-86b6-529c7f62d495",
	"servicePointName": "EM HOME ED",
	"servicePointId": "SE-782700",
	"shippingFee": 19,
	"shippingFeeId": "Frakt",
	"pendingShipment": {
		"id": "637411955579448701"
	}
}

The id of the prepared shipment can also be fetched directly from the post meta field _collector_delivery_module_reference


No booking of shipment


The logic provided in the Walley Checkout for WooCommerce plugin enables Walley Shipping in your Walley Checkout iframe and it stores the selected shipping option in the WooCommerce order. However, the actual booking of the shipment in your transport administration system is not handled in this plugin.

Booking of the shipments needs to be done via a separate service. We at Krokedil offers a separate plugin that helps you handle this. Read more about the Krokedil Shipping Connector plugin here.