{"id":85729,"date":"2018-05-14T12:32:51","date_gmt":"2018-05-14T12:32:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/payment-gateways-by-user-roles-for-woocommerce\/"},"modified":"2025-12-22T08:51:12","modified_gmt":"2025-12-22T08:51:12","slug":"payment-gateways-by-user-roles-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/sr.wordpress.org\/plugins\/payment-gateways-by-user-roles-for-woocommerce\/","author":13578410,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.0","stable_tag":"1.4.0","tested":"6.9.4","requires":"4.4","requires_php":"8.0","requires_plugins":null,"header_name":"Payment Gateways by User Roles for WooCommerce","header_author":"Imaginate Solutions","header_description":"Set user roles to include\/exclude for WooCommerce payment gateways to show up.","assets_banners_color":"8778a1","last_updated":"2025-12-22 08:51:12","external_support_url":"https:\/\/imaginate-solutions.com\/downloads\/payment-gateways-by-user-roles-for-woocommerce\/?utm_source=wporg&utm_medium=commercial&utm_campaign=upgrade","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/imaginate-solutions.com\/downloads\/payment-gateways-by-user-roles-for-woocommerce\/","header_author_uri":"https:\/\/imaginate-solutions.com","rating":5,"author_block_rating":0,"active_installs":3000,"downloads":29743,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"algoritmika","date":"2018-05-14 12:33:10"},"1.1.0":{"tag":"1.1.0","author":"algoritmika","date":"2018-11-14 22:18:47"},"1.1.1":{"tag":"1.1.1","author":"algoritmika","date":"2019-04-19 23:24:34"},"1.2.0":{"tag":"1.2.0","author":"algoritmika","date":"2019-07-25 19:01:42"},"1.2.1":{"tag":"1.2.1","author":"algoritmika","date":"2019-11-28 13:10:28"},"1.2.2":{"tag":"1.2.2","author":"Dhruvin","date":"2020-03-22 10:28:02"},"1.2.3":{"tag":"1.2.3","author":"Dhruvin","date":"2021-10-08 14:09:10"},"1.2.4":{"tag":"1.2.4","author":"Dhruvin","date":"2023-04-13 11:16:20"},"1.2.5":{"tag":"1.2.5","author":"Dhruvin","date":"2023-04-20 13:50:30"},"1.3.0":{"tag":"1.3.0","author":"Dhruvin","date":"2025-04-17 17:19:35"},"1.4.0":{"tag":"1.4.0","author":"Dhruvin","date":"2025-12-22 08:51:12"}},"upgrade_notice":{"1.0.0":"<p>This is the first release of the plugin.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":4},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2202671,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2202671,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2251654,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2251654,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.3.0","1.4.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2611582,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2611582,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Select which user roles must be checked.","2":"Include or Exclude certain payment gateways for certain users."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6593,183292,201492,1925,286],"plugin_category":[45],"plugin_contributors":[142988,85047],"plugin_business_model":[216238],"class_list":["post-85729","plugin","type-plugin","status-publish","hentry","plugin_tags-payment-gateway","plugin_tags-role-based-checkout","plugin_tags-role-based-gateways","plugin_tags-user-role","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-dhruvin","plugin_contributors-imagisol","plugin_business_model-commercial","plugin_committers-dhruvin","plugin_support_reps-dhara61"],"banners":{"banner":"https:\/\/ps.w.org\/payment-gateways-by-user-roles-for-woocommerce\/assets\/banner-772x250.png?rev=2251654","banner_2x":"https:\/\/ps.w.org\/payment-gateways-by-user-roles-for-woocommerce\/assets\/banner-1544x500.png?rev=2251654","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/payment-gateways-by-user-roles-for-woocommerce\/assets\/icon-128x128.png?rev=2202671","icon_2x":"https:\/\/ps.w.org\/payment-gateways-by-user-roles-for-woocommerce\/assets\/icon-256x256.png?rev=2202671","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/payment-gateways-by-user-roles-for-woocommerce\/assets\/screenshot-1.png?rev=2611582","caption":"Select which user roles must be checked."},{"src":"https:\/\/ps.w.org\/payment-gateways-by-user-roles-for-woocommerce\/assets\/screenshot-2.png?rev=2611582","caption":"Include or Exclude certain payment gateways for certain users."}],"raw_content":"<!--section=description-->\n<p><strong>Payment Gateways by User Roles for WooCommerce<\/strong> plugin lets you set user roles for payment gateways to show up.<\/p>\n\n<p>For your WooCommerce store for each payment gateway you have two options to choose from:<\/p>\n\n<ul>\n<li>Set <strong>included user roles<\/strong> - payment gateway will be available <em>only<\/em> to selected roles.<\/li>\n<li>Set <strong>excluded user roles<\/strong> - payment gateway will be <em>not<\/em> available to selected roles.<\/li>\n<\/ul>\n\n<p>Payment Gateways by User Roles for WooCommerce supports <strong>custom user roles<\/strong> as well present on your WooCommerce store.<\/p>\n\n<p>You can also choose which user role must be considered for rule check - either the first assigned user role or all the roles assigned to the user.<\/p>\n\n<p>With this plugin you can set user roles for four standard WooCommerce payment gateways: Direct bank transfer, Check payments, Cash on delivery and PayPal. To set user roles for all other payment gateways you will need <a href=\"https:\/\/imaginate-solutions.com\/downloads\/payment-gateways-by-user-roles-for-woocommerce\/\">Payment Gateways by User Roles for WooCommerce Pro<\/a> plugin version.<\/p>\n\n<p><a href=\"https:\/\/imaginate-solutions.com\/downloads\/payment-gateways-by-user-roles-for-woocommerce\/\">Payment Gateways by User Roles for WooCommerce Pro<\/a> supports almost all the payment gateways created for WooCommerce including Stripe for WooCommerce and <a href=\"https:\/\/imaginate-solutions.com\/downloads\/custom-payment-gateways-for-woocommerce\/\">Custom Payment Gateways<\/a> created for WooCommerce.<\/p>\n\n<blockquote>\n  <p>All I needed was some way to make sure <strong>logged in users (just our admin staff) could take COD payments while Guest users (the general public) could only use credit cards for online payments<\/strong>. This plugin does that very simply, it\u2019s working perfectly, and I couldn\u2019t be happier!<\/p>\n  \n  <p><strong>Perfectly Simple<\/strong>\n  - <a href=\"https:\/\/wordpress.org\/support\/topic\/perfectly-simple-24\/\">WebbyMom<\/a><\/p>\n<\/blockquote>\n\n<h4>Our other plugins<\/h4>\n\n<ul>\n<li><p><a href=\"https:\/\/imaginate-solutions.com\/downloads\/custom-shipping-methods-for-woocommerce\/?utm_source=wporg&amp;utm_medium=pgur&amp;utm_campaign=readme\/\">Custom Shipping Methods for WooCommerce<\/a> - Create custom shipping methods for your WooCommerce store and manage dynamic shipping with ease.<\/p><\/li>\n<li><p><a href=\"https:\/\/imaginate-solutions.com\/downloads\/custom-payment-gateways-for-woocommerce\/?utm_source=wporg&amp;utm_medium=pgur&amp;utm_campaign=readme\/\">Custom Payment Gateways for WooCommerce<\/a> - Create custom payment gateways for your WooCommerce store to add more payment options for the user to choose from.<\/p><\/li>\n<li><p><a href=\"https:\/\/imaginate-solutions.com\/downloads\/woocommerce-addon-uploads\/?utm_source=wporg&amp;utm_medium=pgur&amp;utm_campaign=readme\/\">WooCommerce Addon Uploads<\/a> - Create a print on demand store by allowing users to upload their files when adding products to cart on your WooCommerce store.<\/p><\/li>\n<li><p><a href=\"https:\/\/imaginate-solutions.com\/downloads\/variations-radio-buttons-for-woocommerce\/?utm_source=wporg&amp;utm_medium=pgur&amp;utm_campaign=readme\/\">Variations Radio Buttons for WooCommerce<\/a> - Convert your variations dropdown into radio buttons there by allowing customers a much better user experience and speeding up the checkout process.<\/p><\/li>\n<li><p><a href=\"https:\/\/imaginate-solutions.com\/downloads\/woocommerce-variations-reports\/?utm_source=wporg&amp;utm_medium=pgur&amp;utm_campaign=readme\/\">WooCommerce Variations Reports<\/a> - Get a report of how your variations sales are happening on your WooCommerce Store.<\/p><\/li>\n<\/ul>\n\n<h4>Feedback<\/h4>\n\n<ul>\n<li>We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!<\/li>\n<li>Please visit <a href=\"https:\/\/imaginate-solutions.com\/downloads\/payment-gateways-by-user-roles-for-woocommerce\/\">Payment Gateways by User Roles for WooCommerce plugin page<\/a>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Start by visiting plugin settings at \"WooCommerce &gt; Settings &gt; Payment Gateways by User Roles\".<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.4.0 - 04\/06\/2025<\/h4>\n\n<ul>\n<li>Fixed an issue related to string translation causing fatal errors.<\/li>\n<li>Tested up to  WC 9.8<\/li>\n<\/ul>\n\n<h4>1.3.0 - 11\/10\/2023<\/h4>\n\n<ul>\n<li>HPOS Compatibility added<\/li>\n<li>PHP 8.2 Compatibility added<\/li>\n<\/ul>\n\n<h4>1.2.5 - 20\/04\/2023<\/h4>\n\n<ul>\n<li>WC Tested upto 7.6<\/li>\n<\/ul>\n\n<h4>1.2.4 - 14\/10\/2021<\/h4>\n\n<ul>\n<li>Fixed an issue where some times the gateway array would be set to empty string.<\/li>\n<li>WC tested up to: 5.8<\/li>\n<\/ul>\n\n<h4>1.2.3 - 29\/08\/2020<\/h4>\n\n<ul>\n<li>Dev - Made the code PHPCS compliant.<\/li>\n<li>WC Tested upto 4.4<\/li>\n<\/ul>\n\n<h4>1.2.2 - 22\/03\/2020<\/h4>\n\n<ul>\n<li>WC tested up to: 4.0.<\/li>\n<\/ul>\n\n<h4>1.2.1 - 28\/11\/2019<\/h4>\n\n<ul>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Tested up to: 5.3.<\/li>\n<li>WC tested up to: 3.8.<\/li>\n<\/ul>\n\n<h4>1.2.0 - 25\/07\/2019<\/h4>\n\n<ul>\n<li>Dev - \"Check user roles\" option added (defaults to \"All roles\").<\/li>\n<li>Tested up to: 5.2.<\/li>\n<\/ul>\n\n<h4>1.1.1 - 20\/04\/2019<\/h4>\n\n<ul>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - \"Tested up to\" and \"WC tested up to\" updated.<\/li>\n<\/ul>\n\n<h4>1.1.0 - 15\/11\/2018<\/h4>\n\n<ul>\n<li>Dev - Admin settings restyled. Settings descriptions updated. \"Enabled\" gateway icons added to admin settings.<\/li>\n<li>Dev - All standard WooCommerce payment gateways added to free version.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - Plugin URI updated.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 27\/04\/2018<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Set user roles to include\/exclude for WooCommerce payment gateways to show up.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/85729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=85729"}],"author":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dhruvin"}],"wp:attachment":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=85729"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=85729"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=85729"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=85729"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=85729"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=85729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}