Plugin Author
Reüel
(@pronamic_reuel)
Which version of WooCommerce do you use?
Plugin Author
Reüel
(@pronamic_reuel)
The latest version of WooCommerce is 2.6.4 (see https://wordpress.org/plugins/woocommerce/). 4.5.3 is the version number of WordPress.
Please see the Plugins page in your WordPress dashboard to find the version number of WooCommerce.
Yes I know, our WooCommerce version is 2.1.9
Plugin Author
Reüel
(@pronamic_reuel)
I see you’ve updated your post with the correct version number 🙂 WooCommerce 2.1.9 is outdated (released in May 2014), but you can restore compatibility fairly easy by changing the mentioned line 213 in the file /wp-content/plugins/pronamic-ideal/vendor/wp-pay-extensions/src/Gateway.php.
Replace the current line:
if ( $new_status_slug === $order->get_status() || isset( $order->wc_deposits_remaining ) ) {
with:
if ( method_exists( $this->order, 'get_status' ) ) {
$order_status = $order->get_status();
} else {
$order_status = $order->status;
}
if ( $new_status_slug === $order_status || isset( $order->wc_deposits_remaining ) ) {
We’ll add this fix to restore compatibility with older versions of WooCommerce in the next update of Pronamic iDEAL too.
Thankyou very much!! It worked ! 😀
Plugin Author
Reüel
(@pronamic_reuel)
You’re welcome, glad it’s working!