viraxpress/customerapproval

Customer Approval Extension for Magento2

Maintainers

Package info

github.com/viraxpress/CustomerApproval

Type:magento2-module

pkg:composer/viraxpress/customerapproval

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-06-17 10:03 UTC

This package is auto-updated.

Last update: 2026-06-17 10:11:07 UTC


README

Magento 2 module that provides a customer account approval workflow. The extension adds support for pending, approved, and disapproved customer status, configurable approval rules, and email notifications for registration, approval, and rejection.

Features

  • Admin approval and disapproval actions for customer accounts
  • Bulk approve or disapprove customers from the admin customer grid
  • Adds the is_approved customer attribute with values:
    • pending
    • approved
    • disapproved
  • Automatic approval or pending approval for new registrations
  • Exclude specific customer groups from approval restrictions
  • Auto approve/disapprove based on customer email domains or IP addresses
  • Configurable admin notification emails
  • Configurable customer notification emails for registration, approval, and disapproval
  • Pending and disapproved customers are prevented from logging in with a customizable message

Compatibility

  • Magento 2.4.x

Installation

Install from ZIP

  1. Unzip the module into app/code/ViraXpress/CustomerApproval
  2. Enable the module:
    php bin/magento module:enable ViraXpress_CustomerApproval
  3. Run setup upgrade:
    php bin/magento module:enable ViraXpress_CustomerApproval
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
  4. Flush cache:
    php bin/magento cache:flush

Install via Composer

  1. Add the composer repository that hosts the package.
  2. Install the module:
    composer require viraxpress/customerapproval
  3. Enable the module:
    php bin/magento module:enable ViraXpress_CustomerApproval
  4. Run setup upgrade:
    php bin/magento module:enable ViraXpress_CustomerApproval
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
  5. Flush cache:
    php bin/magento cache:flush

Configuration

After installation, configure the extension in the Magento admin under:

Stores > Settings > Configuration > ViraXpress > Customer Account Approval

Available options include:

  • Enable Account Approval
  • Excluded customer groups
  • Automatically approve accounts
  • Pending approval message
  • Disapproved account message
  • Admin email notification settings
  • Customer notification settings for registration, approval, and disapproval
  • Auto-approved and auto-disapproved IP address lists
  • Auto-approved and auto-disapproved email domain lists

Customer Approval Workflow

  • When enabled, new customer registrations may be set to pending or automatically approved.
  • Pending customers are blocked from logging in until an admin approves their account.
  • Disapproved customers are immediately blocked and shown a configurable rejection message.
  • Admins can approve/disapprove customers from the customer edit page and via mass actions in the customer grid.

Notes

  • The module adds and manages the is_approved customer attribute.
  • Built-in email templates are included for registration, approval, disapproval, and admin notifications.

Support

For support, please contact ViraXpress at https://www.viraxpress.com or refer to the license agreement.

License

This extension is licensed under the ViraXpress license agreement. See https://www.viraxpress.com/license for details.