• Resolved Carl Brubaker

    (@imconfused4sure)


    I have a site where I am trying to integrate Square and have WooCommerce orders show up on the Square dashboard. Any chance you could add this change so I don’t have to hack the plugin every time there is an update? If anyone else views this thread, keep in mind that there is a lot of other components that need to be added to properly close orders on the Square end.

    woocommerce-square > includes > Gateway > API > Requests > Orders.php approximately line 74

    // Add fulfillments.
    $order_model = apply_filters(
        'woocommerce_square_add_order_fulfillment',
        $order_model,
        $order
    );

    I am kinda surprised to see you have almost all of the order syncing features under the hood, they just aren’t connected.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘apply_filters for order fulfillments on order creation’ is closed to new replies.