After a payment Omnikassa sends a callback to process the payment when the user does not proceed to the website. However, I get a 500 error because of it and the status is not changed.
PHP Fatal error: Uncaught Error: Call to a member function get_status() on bool in /nas/content/live/sitename/wp-content/plugins/woo-rabo-omnikassa/controllers/icwoorok2-controller.php:256
After some digging I got to this error when I try to do it manually in functions.php, like this:
$oOrder = wc_get_order(1154);
PHP Fatal error: Uncaught Error: Call to undefined method Automattic\\WooCommerce\\Admin\\Overrides\\Order::getStatus()
Any ideas how to fix it?
iDEAL-Checkout (native) – Rabo OmniKassa 2.0 for WooCommerce 2.1.1
- The topic ‘Issue with the callback’ is closed to new replies.