craigchristenson / woocommerce-2checkout-api

2Checkout Payment API WooCommerce Payment Module
MIT License
57 stars 43 forks source link

changed methods for woocommerce v3.0 methods for process payment #32

Closed balusio closed 5 years ago

Jon007 commented 6 years ago

+1 .. was making exactly the same changes and found this

Jon007 commented 6 years ago

If you are going to add the notify url check it would have to be more like:

if ( ( 'yes' == $this->debug) && ($this->notify_url) && ($this->notify_url !=='') )

as the equality test alone would error if the property is undefined..