> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help-b2b.bsscommerce.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# B2B Lock | How to prevent bot purchases, fraudulent orders, and unauthorized orders

### ⚙️ Prerequisites
Before setting up checkout lock, ensure you have:
* You must have the BSS B2B Lock app installed
* This feature requires a Shopify Plus plan.

### 🎮 How to use
**Step 1:** Navigate to **Checkout Locks** in the sidebar of the **BSS B2B Lock** app.

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_cwuogw.png)
**Step 2:** Configure the general rule information. 
**Rule Name** and **Status** (important – the status must be enabled for the rule to work).  

**Step 3:** Configure Rules Based on Specific Conditions 📝
Configure your validation rules using these options:
* 👤 **Customer conditions**: Customer tags, email addresses, customer phone, login status
* 📦 **Product conditions**: Product tags, specific products, collections
![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_8b8yaa.png)

**Step 4:** Set Up Logic and Error Message 💬

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_1djxln4.png)

#### 
**Condition Matching:**
* 🔗 **ALL**: Acts as an AND condition, meaning all selected conditions must be met
* 🔀 **ANY**: Acts as an OR condition, meaning at least one selected condition must be met
#### 
**Error Message:**
⚠️ **Default message**: "Sorry, your order has been blocked."
This error message will be displayed when a checkout attempt is blocked based on your defined rules.

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_1uurllu.png)

### 
### ⚠️ Important Limitations
**Please note:** Currently, it's only possible to set up **one** checkout validation rule per store. **We will support multiple rules soon.**
### 
### 🔍 Troubleshooting
#### 
❗ Common Issues
If your checkout validation isn't working as expected:
1. ✅ Verify that your product and customer tags are correctly applied
2. 🔍 Check that your checkout rule matches your condition logic
3. 🧪 Test with different customer accounts to verify the behavior
#### 
🧪 Testing Your Setup
Before going live, test your checkout validation by:
1. 👥 Creating test customer accounts with and without the required tags
2. 🛒 Adding tagged products to cart
3. 💳 Attempting checkout to verify the validation works correctly
4. 📋 Testing different scenarios based on your rule conditions

### 🚀 Next Steps
Once you've successfully set up checkout validation:
* 📊 Monitor your store for blocked orders to ensure rules are working correctly
* ✏️ Adjust error messages to provide clearer guidance to customers
* 📈 Consider additional validation rules as your business needs evolve
* 🔍 Review blocked attempts regularly to identify potential issues