⚙️ Initial Setup
After installing the Ecommerce Webhook Notifications Addon, follow this comprehensive setup guide to configure your automated notification system.
🎯 Setup Overview
The initial setup process involves five main steps:
- License Activation - Activate your addon license
- WhatsApp Integration - Connect your WhatsApp Business API
- Template Configuration - Set up notification templates
- Platform Connection - Connect your ecommerce platform
- Testing & Verification - Test the complete notification flow
🔑 Step 1: License Activation
Access License Settings
Navigate to Addon Settings
- Go to
Admin Panel
→Addons
→Ecommerce Webhook Notifications
- Click on
License & Activation
- Go to
Enter License Information
- Purchase Code: Enter your CodeCanyon purchase code
- Domain: Verify your domain is correct
- Email: Enter the email used for purchase
Activate License
- Click
Activate License
- Wait for activation confirmation
- Verify activation status shows "Active"
- Click
Troubleshooting License Issues
Common license activation problems:
Issue | Solution |
---|---|
Invalid purchase code | Verify code from CodeCanyon purchase receipt |
Domain mismatch | Contact support to update registered domain |
Already activated | Deactivate previous installation first |
Network error | Check server's outbound internet connection |
📱 Step 2: WhatsApp Integration
Configure WhatsApp Business API
Access WhatsApp Settings
- Navigate to
WhatsApp
→Business API
→Configuration
- Ensure your WhatsApp Business API is already connected to WhatsMarkSaaS
- Navigate to
Verify API Status
- Check that API status shows "Connected"
- Verify phone number is verified and active
- Confirm webhook URL is accessible
Set Notification Permissions
- Enable
Send Notifications
permission - Confirm
Template Messages
are allowed - Verify rate limits are appropriate for your volume
- Enable
Template Management Access
Access Template Manager
- Go to
WhatsApp
→Templates
→Manage Templates
- Verify you can see existing templates
- Confirm template creation permissions
- Go to
Import Notification Templates
- Navigate to
Ecommerce Notifications
→Templates
- Click
Import Default Templates
- Review and customize imported templates
- Submit templates for WhatsApp approval if needed
- Navigate to
🎨 Step 3: Template Configuration
Default Template Setup
The addon comes with pre-configured templates for common scenarios:
Order Management Templates
Order Confirmation
- Template Name:
order_confirmation
- Trigger: Order placement
- Variables: Customer name, order number, total, items
- Template Name:
Order Processing
- Template Name:
order_processing
- Trigger: Order status change to "processing"
- Variables: Customer name, order number, items, processing time
- Template Name:
Order Shipped
- Template Name:
order_shipped
- Trigger: Shipping confirmation
- Variables: Customer name, order number, tracking number, carrier
- Template Name:
Order Delivered
- Template Name:
order_delivered
- Trigger: Delivery confirmation
- Variables: Customer name, order number, delivery date
- Template Name:
Custom Template Creation
Create New Template
- Go to
Templates
→Create New
- Select
Ecommerce Notification
category - Choose template type (Order, Payment, Shipping, etc.)
- Go to
Configure Template Content
- Header: Add optional header text or media
- Body: Write message content with variables
- Footer: Add optional footer text
- Buttons: Add action buttons if needed
Submit for Approval
- Review template content for compliance
- Submit to WhatsApp for approval
- Wait for approval (typically 24-48 hours)
Template Language Setup
Configure multi-language support:
Language Detection
- Enable automatic language detection
- Set fallback language (usually English)
- Configure language mapping rules
Create Language Variants
- Create templates for each supported language
- Use same variable structure across languages
- Test each language variant
🔗 Step 4: Platform Connection
WooCommerce Setup
Install Webhook Plugin (if needed)
- Ensure WooCommerce webhooks are enabled
- Verify webhook delivery URLs are accessible
Configure Webhooks
- Go to
WooCommerce
→Settings
→Advanced
→Webhooks
- Add webhook for each notification type:
- Order created →
your-domain.com/webhooks/woocommerce/order-created
- Order updated →
your-domain.com/webhooks/woocommerce/order-updated
- Order completed →
your-domain.com/webhooks/woocommerce/order-completed
- Order created →
- Go to
Test Webhook Delivery
- Create a test order
- Verify webhook is received
- Check notification is sent
Shopify Setup
Access Shopify Admin
- Log into your Shopify admin panel
- Navigate to
Settings
→Notifications
Configure Webhooks
- Go to
Settings
→Webhooks
- Add webhooks for:
- Order created
- Order updated
- Order fulfilled
- Order cancelled
- Go to
Set Webhook URLs
- Use format:
your-domain.com/webhooks/shopify/[event-type]
- Example:
your-domain.com/webhooks/shopify/order-created
- Use format:
Magento Setup
Access Magento Admin
- Log into Magento admin panel
- Go to
System
→Configuration
→Services
Enable Webhooks
- Install webhook extension if needed
- Configure webhook endpoints
- Set authentication credentials
Custom Platform Setup
For custom ecommerce platforms:
API Documentation
- Review provided API documentation
- Understand webhook payload format
- Note authentication requirements
Configure Endpoints
- Set up webhook endpoints on your platform
- Format:
your-domain.com/webhooks/custom/[event-type]
- Implement proper authentication
🧪 Step 5: Testing & Verification
End-to-End Testing
Create Test Order
- Place a test order on your ecommerce platform
- Use a valid phone number for testing
- Use small amount to avoid unnecessary charges
Verify Webhook Reception
- Check addon logs for webhook reception
- Verify webhook data is parsed correctly
- Confirm template variables are populated
Check Notification Delivery
- Verify WhatsApp message is sent
- Check message content and formatting
- Confirm customer receives notification
Test Scenarios
Test these key scenarios:
Order Lifecycle Test
Order Placement
- Place order → Verify order confirmation sent
- Check timing (should be immediate)
- Verify all order details are correct
Order Processing
- Change order status to "processing"
- Verify processing notification sent
- Check timing and content accuracy
Order Shipment
- Add tracking information
- Change status to "shipped"
- Verify shipping notification with tracking details
Order Delivery
- Mark order as delivered
- Verify delivery confirmation sent
- Check customer satisfaction request
Error Handling Test
Invalid Phone Number
- Test with invalid phone number
- Verify error is logged appropriately
- Confirm system continues processing other orders
Template Not Available
- Disable a template temporarily
- Trigger corresponding event
- Verify fallback behavior or error handling
WhatsApp API Unavailable
- Simulate API downtime
- Verify retry mechanism activates
- Check queue processing for delayed delivery
Performance Testing
For high-volume stores:
Load Testing
- Simulate multiple simultaneous orders
- Monitor system performance
- Check notification delivery times
Queue Testing
- Verify queue workers are processing notifications
- Monitor queue depth during peak times
- Test queue recovery after downtime
📊 Configuration Verification
System Health Check
Run the built-in system health check:
# Run system diagnostics
php artisan ecommerce-notifications:health-check
# Check specific components
php artisan ecommerce-notifications:check-whatsapp
php artisan ecommerce-notifications:check-templates
php artisan ecommerce-notifications:check-webhooks
Configuration Review
Verify these key settings:
WhatsApp Configuration
- [ ] Business API connected and active
- [ ] Phone number verified
- [ ] Templates approved and active
- [ ] Rate limits configured appropriately
Webhook Configuration
- [ ] Webhook URLs accessible
- [ ] Authentication configured
- [ ] SSL certificates valid
- [ ] Webhook signatures verified
Template Configuration
- [ ] All required templates created
- [ ] Templates approved by WhatsApp
- [ ] Variables mapping correctly
- [ ] Multi-language support active (if needed)
Platform Integration
- [ ] Ecommerce platform webhooks configured
- [ ] Test orders processed successfully
- [ ] Notifications delivered correctly
- [ ] Error handling working properly
🎯 Post-Setup Optimization
Performance Tuning
Queue Configuration
- Configure appropriate number of queue workers
- Set queue priorities for different notification types
- Monitor queue performance and adjust as needed
Rate Limiting
- Configure rate limits to match WhatsApp API limits
- Set up rate limit monitoring and alerts
- Implement backoff strategies for rate limit hits
Caching
- Enable template caching for better performance
- Cache customer data for faster lookup
- Implement webhook data caching if appropriate
Monitoring Setup
Log Monitoring
- Set up log aggregation and monitoring
- Create alerts for error patterns
- Monitor notification delivery rates
Performance Monitoring
- Track notification delivery times
- Monitor API response times
- Set up uptime monitoring for webhook endpoints
Business Metrics
- Track customer engagement with notifications
- Monitor customer satisfaction scores
- Measure reduction in support ticket volume
🚨 Common Setup Issues
Installation Problems
Issue | Symptoms | Solution |
---|---|---|
License activation fails | Error during activation | Verify purchase code and internet connection |
WhatsApp not connecting | API connection errors | Check API credentials and webhook URL |
Templates not importing | Import process fails | Verify template format and permissions |
Webhooks not working | No notifications sent | Check webhook URL accessibility and SSL |
Configuration Issues
Issue | Symptoms | Solution |
---|---|---|
Notifications not sent | Orders created but no messages | Check template approval and webhook configuration |
Wrong template used | Incorrect message content | Verify template mapping and triggers |
Variables not populated | Missing data in messages | Check variable mapping and data source |
Delivery failures | Messages not reaching customers | Verify phone numbers and WhatsApp API status |
🆘 Getting Help
If you encounter issues during setup:
Self-Help Resources
- 📖 Installation Guide - Complete installation instructions
- ⚙️ Configuration Guide - Detailed configuration options
- 🔧 Platform Setup Guides - Platform-specific instructions
- ❓ FAQ - Common questions and solutions
Support Options
- 🎫 Priority Support: Submit a ticket
- 💬 Community Forum: Join discussions
- 📧 Email Support: [email protected]
- 📱 WhatsApp Support: +1-555-CORBITAL
Professional Services
- Setup Assistance: Professional setup and configuration
- Custom Integration: Custom platform integration services
- Performance Optimization: Speed and reliability improvements
- Training: Staff training on system usage and management
✅ Setup Completion Checklist
Before going live, verify:
Technical Setup
- [ ] License activated and verified
- [ ] WhatsApp Business API connected
- [ ] All templates approved and active
- [ ] Webhook endpoints configured and tested
- [ ] SSL certificates installed and valid
- [ ] Queue workers running and monitored
Business Setup
- [ ] Customer notification preferences configured
- [ ] Staff trained on system usage
- [ ] Monitoring and alerting configured
- [ ] Backup and recovery procedures documented
- [ ] Customer opt-out process implemented
Testing Complete
- [ ] End-to-end order flow tested
- [ ] All notification types verified
- [ ] Error handling confirmed
- [ ] Performance testing completed
- [ ] Multi-language testing (if applicable)
Congratulations! Your Ecommerce Webhook Notifications system is now configured and ready to enhance your customer communication.