Inactive Customer Validator
Prevents checkout for inactive business customers.
Overview
The Inactive Customer Validator checks whether the business customer associated with the cart is marked as inactive. 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 business 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.
