davidpaulsson/WooCommerce-Invoice-Payment-Gateway — pull request #7 by ohryan (2013-10-28 04:18:10+00:00)
Title: Fixed WooCommerce 2.0.18 Compatibility Issue

Removed line testing existance of 'woocommerce_payment_gateway', I
think it's safe to assume if WooCommerce is installed, the payment
gateways will be installed as well.

Moved WC version dection code inside the constructor. It was
referencing an non-existant $this.