1. Home
  2. Messenger
  3. Plugin settings

Plugin settings

Setting up the Messenger integration is done in WooCommerce / Settings under the Shipping / Messenger tab. You can adjust the shipping price classically via WooCommerce / Settings / Shipping as you are used to. If you haven’t installed the plugin yet, you want to start reading from the Installing the plugin article.

Basic settings

Below, we’ll go through the individual plugin settings in WooCommerce / Settings / Shipping / Messenger that need to be adjusted before you can start using it.

1. Integration

  1. Enter your username and password (the same as the one you use to log in to the portal in Messenger).
  2. Enter the importKey you should get from Messenger. If you don’t have one, contact their support.
  3. For starters, I recommend Enable Debugging, which means saving all requests to Messenger so you know what’s going on in your store. Once you have tested it, you can disable logging. Requests that Messenger rejects outright as incorrect will be logged anyway.

    Most errors (missing data, etc.) will not be logged because Messenger does not process requests in real time. If you happen to make such a mistake, they will usually call you so you don’t have to worry.

2. Transport settings

Set the shipping type – unless you have arranged a special one, leave the 106 type (economy delivery the day after pick-up).

For proper cooperation with Messenger, the number of packages and their weight rounded to the nearest kilogram must be transmitted. Since it is not possible to estimate how you want to pack a package in WooCommerce in the case of multiple packages, I agreed with Messenger that the total weight of all packages will be divided by the number of packages (i.e. it does not reflect the actual packing), but should be enough to change the price.

The weight of the shipment is calculated by the weight of the products(how to add the weight of the product?) + the weight of the packaging material. You can specify this in the Weight of packaging material setting.

You have the possibility to influence how many packages the goods will be divided into in two ways (the first one that is fulfilled is always used):

  • Items per package – the number of items that are in one package (useful e.g. in the case of sending bottles of wine, etc.
  • Maximum package weight – if you have multiple small items that are better packed at once, you probably want to set a maximum package weight and a very high number of items in the package (e.g. sending cosmetics).

If you need to change these values for certain cases, you can use the available filters, which your programmer can certainly handle.

3. Pick-up location

In this section, enter information about who will ship the packages for you and where they are to be picked up.

4. Activation, adding transport and test

When you have all the basic settings ready, go all the way back to the top of the settings and enable the integration by checking Enable – Send orders to Messenger.

Now it’s time to set up the Messenger transport method:

  1. In the WooCommerce / Settings / Shipping tab, under Shipping Zones, select the Zone where you want to send items via Messenger
  2. Press the Add Shipping Method button and select the Messenger method .
  3. Set price and custom shipping name

If you are set up, you can send a test order to Messenger, which you can find in the Test Portal under the Shipment Overview / All Shipments tab.

The order will be sent in the processing state, i.e. after payment has been made.

Unfortunately, Messenger does not guarantee the availability of the test portal – if your shipment does not appear there, please contact their support. They will advise you.

Attention – if you are sending an order to Messenger, please use an existing street, city and postcode when filling in the delivery address – orders with non-existing data will not get into Messenger at all.

If you need to test in live operation, use the first and last name field and possibly a note on the order instead of a fictitious address.

If everything is OK, you can turn off the test operation.

Cash on delivery

The plugin automatically handles the delivery of COD and COD added by Woo shipping. If you need another payment method to be taken as a cash on delivery, you need to adjust it using the filter, if you don’t know how to use it, email me.

Tracking delivery status

If you want to track the delivery status of an order in the administration, you need to send the address of your REST API to Messenger, which will process the shipment status. You can find it in WooCommerce / Settings / Shipping / Messenger:

Each time you change the status, a new note will be added to your order. In case of delivery, the order status will then change to Completed.

Adding product weight in WooCommerce

For everything to work properly, you must have a weight added to each product offered. which you can check in WooCommerce Settings / Settings / Products / Warehouse.

You can set it in the product detail in the Product Data / Shipping settings .

Weight setting on product detail.

Alternatively, you can use the Quick Edit or even the Bulk Edit action on the Product Overview if you have multiple products that weigh the same.

Add or edit product weight from the Quick Edit menu in the product overview.
Updated on December 11, 2023

Was this article helpful?

Related Articles