• Resolved jiggaman

    (@jiggaman)


    in this file:
    woocommerce-shipstation-integration/includes/api-requests/class-wc-shipstation-api-shipnotify.php

    I need to force a specific order status scenario, by modifying:
    $order->update_status( WC_ShipStation_Integration::$shipped_status );

    with

    if($order->get_payment_method() == 'check' || $order->get_payment_method() == 'cheque') {
        $order->update_status('pending-payment');
    } else {
        $order->update_status( WC_ShipStation_Integration::$shipped_status );
    }

    Can you suggest a way I could accomplish this without modifying your code base, or is it possible for you make some sort of hook in the plugin that would allow me to do so?

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    If I see this correctly then there is an action right underneath which you can use to run your code woocommerce_shipstation_shipnotify.

    Screenshot: https://d.pr/i/URdKOW

    Kind regards,

Viewing 1 replies (of 1 total)
  • The topic ‘possibly needing additional hook’ is closed to new replies.