← All modules

Magento 2 module

Customer Block

Puts orders of blocked customers on hold automatically, based on a list of email addresses, names, addresses or PayPal payer IDs, and notifies your team by email.

Most merchants know customers they no longer want to deliver to, for example because of unpaid invoices or fraud. Checking every new order by hand is error-prone. This module keeps a list of blocked customers. As soon as a matching order reaches its processing status, it is put on hold and your team receives an email, so the order can be reviewed before it is shipped.

Features

  • Block criteria of four kinds: “Email” (email address), “Customer” (first name, last name and city), “Address” (street, house number, postcode and city of the shipping address) and “Paypal” (PayPal payer ID).
  • Orders are checked when they reach the new order status configured for their payment method (or “processing”).
  • Matching orders are set to “On Hold” automatically.
  • A notification email (“Order … in manual processing. Release required!”) is sent to one or more receivers.
  • A blocked order cannot leave the “On Hold” state by automatic processes; it is released only when an admin uses “Unhold” in the order view or the order grid.
  • Grid with all criteria and filters for each field.

Configuration

  • Criteria: Infrangible > Customers Block > Manage Criteria, with the buttons “Add Customer”, “Add Email”, “Add Address” and “Add Paypal”.
  • Notification: Stores > Configuration > Infrangible Solutions > Customers Block > Notification for blocked Order, with “Email Sender”, “Email Template” and “Email Receiver” (several addresses separated by commas). The template “Blocked Customer Order Notification” is provided.

Good to know

Criteria are compared exactly, so spelling variants of a name or address are not detected.

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-customer-block

Then enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.