Closed jooray closed 5 years ago
This might have to do something with #28. I first thought that WC_Admin_Order has to do with logged in users, but it seems it is a feature of Woocommerce Admin plug-in when one is logged in.
will make a new release with this! thanks
@jooray I pushed 3.0.8 to Wordpress plugin directory. Can you give a try?
Something's still off, this error is handled. I mentioned it in #30
If you make an order and you are logged in as admin, the class of the order is WC_Admin_Order, not WC_Order, so the callback will not work.