Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the following places for more development-oriented questions:

    1. WooCommerce Slack Community: https://woocommerce.com/community-slack/
    2. WooCommerce FB group: https://www.facebook.com/groups/advanced.woocommerce/
    Thread Starter kword

    (@kw56)

    Thank you for reply.

    I solved the bug by adding payment method checking:

    if( !$order->has_status( 'pending' ) ) return;
    
    if ( 'rbspayment' == $order->payment_method ) {
       // Send "New Email" notification (to admin)
       WC()->mailer()->get_emails()['WC_Email_New_Order']->trigger( $order_id );
    }

    UPD. I found there some additional statuses as processing-unpaid or pending-payment.
    Where can I find all the available order statuses?

    • This reply was modified 4 years, 7 months ago by kword.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin notification for “Pending” Order status’ is closed to new replies.