WooCommerce 3.0 Support
-
Hi,
Since upgrading to WooCommerce 3.0 I’ve noticed there’s some notices being thrown because of the SagePay Direct plugin. Examples of these notices are:
[05-Apr-2017 10:59:18 UTC] billing_address_2 was called incorrectly. Order properties should not be accessed directly.. This message was added in version 3.0.
[05-Apr-2017 12:32:03 UTC] billing_city was called incorrectly. Order properties should not be accessed directly.. This message was added in version 3.0.
These issues can be easily fixed by using functions such as
$order->get_billing_address_2();
rather than using magic methods. I have a fixed version of this plugin if you have a Git repo I could create a pull request to?
- The topic ‘WooCommerce 3.0 Support’ is closed to new replies.