Back to AI Features
CRITICALEdge Case

Sales Agent - Feature Disabled (Subscription)

Verify that the Sales Agent is unavailable when the store's subscription doesn't include this feature.

3 steps
~3 min
ai-10

Preconditions

  • Store on a plan WITHOUT Sales Agent feature
  • Or store with sales_agent_enabled = false

Test Steps

Follow each step carefully

0/3

Visit the storefront of a store without Sales Agent feature

Verify

Storefront loads normally

Look for the AI chat widget

Verify

Chat widget is NOT visible or is disabled

Note

Widget should not appear if feature is disabled

Try to access the AI chat API directly (if technical)

Location

POST to /storefront/api/v1/ai/chat/

Verify

API returns 403 Forbidden with message about feature not enabled

Expected Result

Feature gating: (1) Chat widget hidden when feature disabled, (2) API returns 403 error, (3) Error message explains feature is not enabled, (4) No partial access or workarounds.

Ready to Complete?

Click when you have verified all steps and the expected result.

Test Info

Module
AI Features
Steps
3
Duration
3 min
XP Value
+50