• Resolved gsibert

    (@gsibert)


    The instructions block that is supposed to go into the thank you page and the order on hold email also end up in the processing email which is after payment in the process. This creates confusion for the customer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gsibert

    (@gsibert)

    I fixed it for now:

    In includes/class-wc-invoice-gateway.php, line 475, the email_instructions function has an inverted status check. The condition uses !== which causes instructions to appear in every customer email except on-hold. Change !== to === so it reads:

    apply_filters( ‘wc_invoice_gateway_process_payment_order_status’, $this->order_status ) === ‘wc-‘ . $order->get_status()

    Plugin Author Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    HI @gsibert

    Thanks for taking the time to let me know about this. I’ll take a look and get an uodate pushed out!

    Plugin Author Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @gsibert I’ve just pushed v2.0.3 with a fix and sorry for the slight delay in getting that out.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.