woothemes/woocommerce — pull request #1050 by thenbrent (2012-05-17 07:09:27+00:00)
Title: Filtering Available Gateways

Adding a filter to result of `WC_Payment_Gateways::get_available_payment_gateways()` so that functions can override which gateways are available for a given transaction.

My use case for this is with my subscriptions extension. I need to make sure only gateways which support subscriptions are available at checkout, even if other gateways are enabled for product purchases.