I'm trying to write a WooCommerce plugin for a client's website that they're going to be selling subscriptions to customers. I've been exploring my options and the best one I can come up with is to roll my own payment gateway module to handle this. (Other advice appreciated if anyone's ever tackled something like this).
However, I'm trying to add a custom payment gateway, but it doesn't seem to be working up. It's not showing up under WooCommerce -> Settings -> Payment Gateways
. The plugin is installed and activated in WordPress, and I've followed a couple guides from their docs pages.
- WooCommerce version: 2.0.18 (via plugin installer)
- gist code
I really don't know why or what would cause my payment gateway isn't showing up.
Thanks for the future help.
woocommerce_payment_gateways
filter. The php file is loaded manually from in the plugin file. I'm unsure how to even use autoloading in PHP. I'll take a look at the error log when I get home today. – Zack Oct 30 '13 at 16:33