Inactive Customer Validator
Prevents checkout for inactive customers.
Overview
The Inactive Customer Validator checks whether the customer associated with the cart is marked as inactive. Both business and private customers are checked. If the customer is inactive, the validator blocks the cart from proceeding to order creation.
Identifier
| Property | Value |
|---|---|
| Connector ID | inactiveCustomerValidator |
| Validation Type | General |
Behavior
- Checks if the cart has a
CustomerIdset - If a customer ID is present, looks up the customer (a business customer first, falling back to a private customer)
- If the customer's
IsInactiveflag istrue, returns a validation error - If no customer is set or the customer is active, validation passes
Error messages
| Condition | Translation Key |
|---|---|
| Customer is inactive | InactiveCustomerValidatorErrorMessage |
Configuration
No additional properties required.
