I noticed you use reduce_order_stock() on version 1.6 which is deprecated and throws below error. Can you fix this in the next version release? Thanks for listening ??
The WC_Order::reduce_order_stock function is deprecated since version 3.0. Replace with wc_reduce_stock_levels.
The topic ‘reduce_order_stock() is deprecated’ is closed to new replies.