PHPackages                             vivlavoni/module-disable-payment-for-customer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. vivlavoni/module-disable-payment-for-customer

ActiveMagento2-module

vivlavoni/module-disable-payment-for-customer
=============================================

Disable payment methods for customer

00PHP

Since Jul 16Pushed 10mo agoCompare

[ Source](https://github.com/VolodymyrBlazhkov/DisablePaymentForCustomer)[ Packagist](https://packagist.org/packages/vivlavoni/module-disable-payment-for-customer)[ RSS](/packages/vivlavoni-module-disable-payment-for-customer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (1)Used By (0)

Vivlavoni\_DisablePaymentForCustomer
====================================

[](#vivlavoni_disablepaymentforcustomer)

Overview
--------

[](#overview)

Disable Payment Methods for Customer – Magento 2 Extension by ViVlaVoNi The Disable Payment Methods for Customer module is developed by ViVlaVoNi, a company specializing in Magento 2 solutions for small eCommerce businesses. ViVlaVoNi delivers lightweight, efficient modules tailored for single-store merchants and resellers. Learn more about us at ViVlaVoNi.

This extension gives you fine-grained control over which payment methods are available to specific customers. Whether you want to restrict high-risk methods like Cash on Delivery or enable offline methods only for trusted clients, this module lets you create a custom whitelist of customers for payment method—all manageable via the Magento Admin Panel.

Account &amp; Pricing:

No account is required to use this extension. All features are included out of the box. There are no subscription fees or third-party services involved.

Features:

- Customer Whitelisting for Payment Methods Enable specific payment methods only for selected customers by adding them to a whitelist.
- Disable Global Payment Methods by Default Disable any payment method for all customers and selectively enable it only for trusted individuals.
- Admin Panel Management Interface Easily manage the list of customers and assign them access to one or more payment methods from the admin.
- Supports All Payment Methods Works with any payment method configured in Magento 2, including offline and third-party gateways.
- Store View Support Configure behavior per store view if needed for multi-store setups.

Benefits

- Improved Checkout Experience Customers only see payment methods they are allowed to use—cleaner and more user-friendly checkout.
- Flexible Payment Rules Create flexible business logic without custom development by leveraging Magento’s admin UI.

Use Case:

You're a merchant selling both to individual customers and wholesale partners. You want to:

- Disable Cash on Delivery for all customers by default but enable them for customers fromthe whitelist.

With this extension:

- You disable “Cash on Delivery” globally.
- You go into the admin panel and whitelist only a few customers for this method.
- Now, only those customers will see it at checkout—everyone else won’t.

How Does It Work:

Global Method Control You disable any payment method globally in Magento's standard configuration.

- Customer Whitelisting in Admin In a dedicated admin section, you select which customers should still have access to the disabled method.
- Frontend Filtering at Checkout During checkout, the module checks the logged-in customer's whitelist and shows only the allowed payment options.

Installation via rar
--------------------

[](#installation-via-rar)

- unpack the module into a folder `app/code`
- run command `bin/magento setup:upgrade`
- run command `bin/magento cache:flush`

Uninstall via composer
----------------------

[](#uninstall-via-composer)

- Remove folder `app/code/Vivlavoni/DisablePaymentForCustomer`
- run command `bin/magento setup:upgrade`
- run command `bin/magento cache:flush`

Installation via composer
-------------------------

[](#installation-via-composer)

- Run `composer require vivlavoni/module-disable-payment-for-customer`

Uninstall via composer
----------------------

[](#uninstall-via-composer-1)

- Run `composer remove vivlavoni/module-disable-payment-for-customer`

Module Images of functionality
------------------------------

[](#module-images-of-functionality)

- Config

    [![config](docs/config.jpeg)](docs/config.jpeg)

Compatibility
-------------

[](#compatibility)

- Magento 2.4

Dependencies
------------

[](#dependencies)

- Magento\_Checkout

Requirements
------------

[](#requirements)

- PHP ^7.4 || ^8.1

Author
------

[](#author)

ViVlaVoNi company

Volodymyr Blazhkov

- @copyright 2025 Volodymyr Blazhkov internet solutions GmbH

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance40

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f239172631e57340d1afcaf95807b6f44b6b5867f4cb6a8e72b72b602969591?d=identicon)[Volodymyr Blazhkov](/maintainers/Volodymyr%20Blazhkov)

---

Top Contributors

[![VolodymyrBlazhkov](https://avatars.githubusercontent.com/u/14778676?v=4)](https://github.com/VolodymyrBlazhkov "VolodymyrBlazhkov (3 commits)")

### Embed Badge

![Health badge](/badges/vivlavoni-module-disable-payment-for-customer/health.svg)

```
[![Health](https://phpackages.com/badges/vivlavoni-module-disable-payment-for-customer/health.svg)](https://phpackages.com/packages/vivlavoni-module-disable-payment-for-customer)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
