With:
https://ww.wp.xz.cn/plugins/woo-custom-emails/
you can setup an email to be sent to admin when an order’s status changes from pending to failed. You would not get the text of the order note in the email, but you would get notified straightaway that a payment had failed.
Thread Starter
astrgn
(@astrgn)
Thanks Lorro. Yes I am already getting order failed emails. I just want to have Store Admins get the “note” details so they know why the order failed without logging into the store backend.
Found some code here to do it:
https://gist.github.com/vanbo/b10de09ad367275d2bff
change the status on line 11 to failed. Good luck!
Plugin Support
slash1andy
(@slash1andy)
Automattic Happiness Engineer
Hey there again!
That would not work without some fairly extensive customizations.
We highly recommend contacting one of the services on our Customizations page (https://woocommerce.com/customizations/)