Payment Gateways by Shipping for WooCommerce is a lightweight plugin that lets you set the “enable for shipping methods” option for WooCommerce payment gateways, i.e. gateways will be shown/hidden on the checkout page depending on which shipping method your customer selects.
You can choose if you want to enable/disable payment gateways by shipping methods or by shipping method instances (e.g. by shipping zones).
The free version allows you to set shipping methods for all four standard payment gateways: Direct bank transfer, Check payments, Cash on delivery, and PayPal. With Payment Gateways by Shipping for WooCommerce Pro, you can set shipping methods for any non-standard payment gateway.