• Resolved Dmitriy Dzyuba

    (@dmitriy-dzyuba)


    Hi,

    Can you please tell me if it’s possible to change the order status to “Processing” automatically if the order contains subscriptions?

    Kind regards,
    Dmitriy

Viewing 1 replies (of 1 total)
  • Are you using our plugin?

    Order status should be “completed” when the products are virtual (which normally Subscriptions are). That’s the way WooCommerce works.

    The status of the order is set by WC_Order::payment_complete() as you can see:

    $this->set_status( apply_filters( 'woocommerce_payment_complete_order_status', $this->needs_processing() ? 'processing' : 'completed', $this->get_id(), $this ) );

Viewing 1 replies (of 1 total)
  • The topic ‘Change order status to processing automatically’ is closed to new replies.