• Resolved suarcos

    (@suarcos)


    I want to use Woocommerce Zapier to send some booking (Woocommerce Booking) information to an external site.

    When I do the step by step tests in Zapier everything goes well, but when I activate the Zap it doesn’t work cause it is doing an specific thing differently.

    I explain.

    My trigger is a “new booking” and everything is fine with it. The next action is to use the booking’s order id to “find the order” and get some data used for a filter in the next step.
    While setting up the Zap everything works correctly and Zapier gets the Booking’s related order Id so I can get the order’s info.
    But when I start the automation and make a test, the Zap halts with a message of “no order was found”.

    I checked the woocommerce logs and found that when the Zap is activated, the order id field in the booking information sent to Zapier has value of 0 (instead of the real value). Here is the log data:

    2022-02-25T22:54:14+00:00 DEBUG Building webhook (ID: 1) payload for "booking" resource (ID: 2792).
    2022-02-25T22:54:14+00:00 DEBUG Content: array (
      'id' => 2792,
      'all_day' => false,
      'cost' => '499',
      'customer_id' => 32,
      'date_created' => '2022-02-25T16:54:12',
      'date_modified' => '2022-02-25T16:54:12',
      'google_calendar_event_id' => '0',
      'order_id' => 0,
      'order_item_id' => 0,
      'parent_id' => 0,
      'person_counts' => 
      array (
      ),
      'product_id' => 662,
      'resource_id' => 16,
      'status' => 'in-cart',
      'local_timezone' => '',
      'date_start' => '2022-03-01T18:00:00',
      'date_end' => '2022-03-01T19:30:00',
    )

    ?Have anyone experienced this?
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce Zapier Find Order Error’ is closed to new replies.