Order Subscription
Overview
An Order Subscription allows customers to subscribe to meals for a fixed delivery schedule instead of placing orders manually each time.
Orders are automatically generated and managed based on defined subscription rules.
Flow Summary:
Select Plan → Choose Delivery Days → Select Meals → Payment → Active → Auto Order Generation → Menu Activation → Email Notification → Edit Window → Next Cycle
Storefront
Step-by-Step Subscription Flow
1️⃣ Choose Subscription
Customer selects Meal Subscription.
2️⃣ Select Number of Meals
Available options:
- 6 meals
- 12 meals
- 18 meals
- 24 meals
- Custom (Minimum: 6 meals)
Discounts are automatically applied based on selected meal count.
3️⃣ Check Availability
- Customer enters Pincode
- System validates delivery availability
4️⃣ Choose Delivery Days
Customer can select:
- Sunday only
- Wednesday only
- Both Sunday & Wednesday (Minimum 12 meals required)
5️⃣ Choose Meals
Customer selects meals within plan limits.
6️⃣ Payment & Order Placement
- Customer completes payment
- Autopay is enabled
- Subscription becomes Active
Autopay & Billing Logic
-
Payment is auto-debited before each delivery cycle
-
Billing frequency depends on:
- Selected meal plan
- Selected delivery days
-
Auto debit occurs prior to order generation
-
If auto debit fails → subscription moves to Payment Failed state (temporarily paused)
After Order Placement
-
Payments auto-debited as per cycle
-
A new order is automatically created at cutoff time
-
If both Sunday & Wednesday selected:
- Separate orders created per delivery day
Edit Subscription
Scope of Editing
Customers can edit:
- ✅ Only meals within plan
Customers cannot edit:
- ❌ Meal Plan type (Standard, Premium, Elite, Custom)
- ❌ Quantity configuration
- ❌ Delivery day configuration
To change plan or delivery days:
- Cancel current subscription
- Create new subscription
Subscription Limit Rule
- Only one active subscription per customer
- New subscription requires cancellation of active one
Meal Editing Windows
🗓 Wednesday Delivery
- Editable: Thursday 12:00 AM → Sunday 7 PM
- Locked after: Sunday 7 PM
- Delivered on: Wednesday
🗓 Sunday Delivery
- Editable: Monday 12:00 AM → Thursday 7 PM
- Locked after: Thursday 7 PM
- Delivered on: Sunday
Editing Restrictions
Customers:
- Can modify meals within plan limits
- Cannot exceed meal quantity(except in custom plan)
- Cannot edit after cutoff
- Cannot edit already delivered meals
Email Notifications
Menu Upload (Staging Phase)
When Admin uploads new menu CSV on cutoff day:
- Stored as Upcoming Meals (Staged Menu)
- Current active cycle remains unchanged
- ❌ No email triggered
Menu Activation (Trigger Phase)
After current delivery day completes:
- Staged menu becomes Active
- Email notification is sent
Email Trigger Conditions
Email is sent only if:
- Delivery day completed
- New menu activated
- Customer has active subscription
- Subscription includes that delivery day
🧭 Navigator
Subscription Order Creation
-
Subscription automatically split by delivery day
-
If both days selected:
- One Sunday order
- One Wednesday order
Filtering & Management
Business owners can:
- Filter by Sunday / Wednesday
- View day-wise split orders
- Manage kitchen prep efficiently
Subscription Status Flow
- Active – Ongoing
- Paused – Temporarily stopped
- Cancelled – Permanently stopped
- Payment Failed – Auto debit unsuccessful (requires action)
Edge Case Handling
1️⃣ Payment Failure
-
If auto debit fails:
- Order not generated
- Subscription moves to Payment Failed
- Customer notified via email
2️⃣ Pause After Cutoff
-
If paused after cutoff:
- Upcoming generated order remains
- Next cycle paused
3️⃣ Cancellation Mid-Cycle
- Orders already generated remain valid
- Future cycles stopped
4️⃣ Multiple Subscription Attempt
- System blocks creation if active subscription exists
Customer Benefits
- No repeated manual ordering
- Guaranteed slot-based meal delivery
- Better pricing through meal-count discounts
- Predictable weekly planning