Skip to main content

Integrating WooCommerce with Onro

Connect your WooCommerce store with Onro to automate order processing and delivery management.

Updated this week

This guide explains how to integrate your WooCommerce store with our system to automate order processing and delivery management.


Prerequisite

Creating a business account for the corresponding store:

For each store in WooCommerce that you want to receive orders from, you need to create a corresponding Business Customer account in the Admin Center. To learn about registering a new business customer, read this article.


There are some important points after you've created the business account:

  1. Enough Minimum Balance
    When you choose Wallet as the default payment method in the WooCommerce integration settings, your customer account wallet must either have a sufficient balance or the Minimum Balance field in your customer account settings must be set to a large negative number to be able to place orders.

    To do this, use these guidelines:

  2. Set a Default Pickup Address
    Ensure the customer has a default pickup address set.

    • While on the customer’s Details page, go to the Addresses tab

    • Add or edit an address, and mark it as the Default


Set up the WooCommerce integration

To start, follow the path below:

Admin Center -> Settings ->  Integrations -> POS -> WooCommerce


In the opened window, provide the following information:

  • Business: Select the business customer associated with the WooCommerce store from which you will receive orders.

  • Order Type: Select the type of orders you will receive from the WooCommerce store, such as on-demand, delivery only, pick-up and delivery, etc.

  • Service: Select the service associated with the orders coming from the WooCommerce store.

  • Vehicle Type: Select the type of vehicle to be used for fulfilling the orders from this WooCommerce store.

  • Payment method: Select the payment method associated with the orders received from the WooCommerce store (Cash, Wallet).

  • Payment side: Select who will pay for the order, the sender or the receiver.

Don't Click on Submit yet. Keep this window open because you’ll need to copy the webhook URL and Secret Key into your WooCommerce webhook settings.

Woocommerce settings:

Step 1 - Log in to Your WordPress Admin Dashboard

  • Open your WordPress admin panel.

  • From the sidebar Menu, navigate to WooCommerce > Settings.

  • In the WooCommerce settings, click on the Advanced tab.

  • Select Webhooks from the submenu.

  • Click the Add Webhook button or Create a new webhook button.

Step 2 - Create a New Webhook

  • Fill in the required details:

    • Name: Choose a descriptive name (e.g., “Onro Integration”).

    • Status: Set to Active.

    • Topic: Select the event you want to track (“Order Created” or “Order Updated”).

    • Delivery URL: Paste the webhook URL you copied from the previous step here.

    • Secret: Paste the Secret Key you copied from the previous step here.

    • API Version: Select the latest version available.

    • Click Save Webhook to complete the setup.

Now, you can go back to Admin Center and click submit to complete the integration.

By following these steps, you have successfully integrated Onro with WooCommerce and can now receive orders from your WooCommerce store.

For more information about webhooks in WooCommerce, please refer to the WooCommerce documentation.

Did this answer your question?