Skip to main content
View Categories

Using Order Webhook

1 min read

What is webhook: #

Webhook helps you to get live orders from WooCommerce to TranziPOS. Meaning whenever there is a new order in WooCommerce website it gets send instantly to TranziPOS. This is a nice feature present in this module.

Setting up Webhook: #

  1. Go to WooCommerce -> API settings -> WebHook settings, there you will find Order Created, Order Updated, Order Deleted, Order Restored webhook settings containing Webhook Secret & Webhook Delivery URL
  2. Copy the Webhook Delivery URL for Order Created and create a new Webhook in WooCommerce. For creating Webhook in WooCommerce refer to this document: https://docs.woocommerce.com/document/webhooks/#section-3
    1. Name: Give any name which you can recognize.
    2. Status: Active
    3. Topic: Order Created
    4. Delivery URL: Paste the order created delivery URL from TranziPOS.
    5. Secret: keep it blank.
    6. API version: WP REST API version 2
    1. Click on “Save Webhook” in WooCommerce.
    2. Copy the Generated “Secret” from WooCommerce and paste it to Webhook Secret of TranziPOS Order Created.
    3. Repeat the above process for all other (Order Updated, Order Deleted, Order restored)

    After configuring when a new order comes it will also be updated in TranziPOS.

 

Error: Woocommerce webhook signature mismatch #

If it shows this error in error log then make sure you have provided the correct webhook secret in TranziPOS as described in above step 2.

Powered by BetterDocs

Leave a Reply