You may want to disable payment gateways depening on the user role or user capability. For example, you may want to disable PayPal for “user role: shop_manager” or enable a specific gateway for “user role: customer”. All you need is pasting the following code in your functions.php

Disable Payment Gateway for a Specific User Role

Enable Payment Gateway for a Specific User Role

How to Find WooCommerce Payment Gateway ID

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...