• Resolved pumpingrulos

    (@pumpingrulos)


    Hi!

    I´m using WCFM markectplace (wcfm ultimate also) in my ecommerce.
    I need to automatically cahnge order status to completed, so I´ve purchased woocommerce status control plugin, but the plugin doesn´t work if WCFMMarketplace is activated.

    Any solution? Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pumpingrulos

    (@pumpingrulos)

    Hi again!

    At the moment I´m solving it by adding a snippet to change order status, this is the code:
    add_action( ‘woocommerce_thankyou’, ‘custom_woocommerce_auto_complete_order’ );
    function custom_woocommerce_auto_complete_order( $order_id ) {
    if ( ! $order_id ) {
    return;
    }

    $order = wc_get_order( $order_id );
    $order->update_status( ‘completed’ );
    }

    It works, but the orders goes through 3 stautus: From Pending to Completed to Processing and finally to Completed again, as result, customer recieves the order email confirmation twice… Anyone whit the same problem?

    Thanks!!

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    It works, but the orders goes through 3 stautus: From Pending to Completed to Processing and finally to Completed again, as result, customer recieves the order email confirmation twice

    – Well, this order status transition coontrol by WC core and customer emails also triggered from WC, WCFM or WCFM Marketplace does not send out any email to customer for such purpose.

    But, it’s quite obvious, as two status transition happening so two email will be generated.

    Thank You

    Thread Starter pumpingrulos

    (@pumpingrulos)

    Hi!

    I after some more testing (deactivating all snippets and all the plugins in my site and activating them one by one)
    I´ve noticed that woocommerce status control works fine, the problem is with WCFM Marketplace.

    The order is automatically completed by woplugin, but if I activate wcfm marketplatece, the orders go from completed to Processing.

    Any sugestions?

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Which payment gateway you are using for make payment for the order?

    Thank You

    Thread Starter pumpingrulos

    (@pumpingrulos)

    Hi!

    Stripe plit pay.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘woocommerce status control incompatibility’ is closed to new replies.