Support » Plugin: WooCommerce » Sending an enail in checking out via BACS.

  • Hi,

    When I check out via BACS, I receive the email set in the processing status.
    BACS changes the order status from pending to on-hold.
    So, the processing email should not be sent in this case.
    I modified class-wc-email-customer-processing-order.php like this.

    # Before

    add_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $this, 'trigger' ) );

    # After

    add_action( 'woocommerce_order_status_on-hold_to_processing_notification', array( $this, 'trigger' ) );

    Please check this out.

  • The topic ‘Sending an enail in checking out via BACS.’ is closed to new replies.