Closed SiobhyB closed 3 years ago
@astralbodies I see it's a hard-coded list of order statuses. From looking at the commit history, it sounds like the original goal was to prevent notifications for wc-pending
. I guess there are 2 options:
I don't have a good sense of which route would be preferred here though.
@joshbetz Yeah I'm not sure of the right way to go here too. We could include the partially paid status in the backend to send out the notifications. I do think the logic old sends a new order notification once ever for an order, so even if it goes through several statuses, it should only fire once.
I deployed a change to send notifications for the wc-partial-payment status.
Describe the bug
No notification is generated if a new order has a custom order status associated with it.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd expect to receive notifications of all new orders, even if they have a custom order status like Partially Paid.
The fact that extensions that change the status of new orders (including WooCommerce Deposits) are included in the official store on WooCommerce.com supports this expectation.
Isolating the problem (mark completed items with an [x]):
Mobile Environment
WordPress Environment