
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).
You can set shipping methods for any payment gateway (including custom gateways).