CASE STUDY
Fenix Delivery Platform
Fenix Delivery
Food Delivery & Restaurant Logistics
Web based Delivery Credit Wallet Management System
Overview
Fenix Delivery, a Spain based food delivery logistics company, struggled with manual credit tracking and delayed payment reconciliation across their restaurant network. The Fenix Wallet Platform was built as a web based solution to automate credit management, enable real time delivery cost tracking, and streamline the entire delivery to payment workflow.
The Challenge
Restaurant partners and the delivery operations team faced multiple challenges in managing delivery credits and payments across the platform.
Manual Credit Management:
Tracking restaurant credits manually led to accounting errors, payment disputes, and significant administrative overhead consuming 15-20 hours weekly.
Delayed Payment Processing:
Traditional invoicing cycles caused cash flow delays, making it difficult for restaurants to manage their delivery budgets effectively.
No Real Time Cost Visibility:
Restaurant owners had no immediate insight into delivery costs, making budget planning and financial forecasting nearly impossible.
Disconnected Systems:
Delivery tracking (Shipday) and payment systems operated independently, requiring constant manual reconciliation and data entry.
Inefficient Communication:
No automated alerts for low balances resulted in service interruptions when restaurants unexpectedly ran out of credits.
Our Solution
Empower restaurant partners with a unified financial platform featuring innovative automation and real time visibility, designed to eliminate manual processes and deliver measurable operational efficiency.
Credit Wallet System:
Implemented a digital wallet allowing restaurants to pre purchase delivery credits with real time balance tracking and complete transaction history.
Stripe Payment Integration:
Enabled secure, instant credit purchases through Stripe Checkout with automatic balance updates, webhook based verification, and comprehensive failure handling.
Shipping day Webhook Integration:
Delivered automated credit deduction when deliveries are completed, eliminating manual reconciliation through real time order status synchronization.
Intelligent Alert System:
Facilitated proactive balance monitoring with automated email notifications when credits reach 20% threshold, preventing service interruptions.
Multi Language Support:
Built complete Spanish and English localization to serve diverse restaurant partners across different regions.
Technical Implementation
Our technology partnership delivers cutting edge solutions that automate operations, reduce costs, and ensure seamless scalability for future growth.
Web Dashboard
Modern, responsive dashboard providing real time credit balance display, transaction history, delivery tracking, and profile management with bilingual interface.
Backend API
RESTful API architecture with JWT authentication, secure payment endpoints, webhook handlers, and comprehensive error handling.
Database Layer
Scalable database design with transaction integrity, audit logging, and optimized queries for credit wallet, delivery transactions, and webhook events.
Payment Gateway
PCI compliant payment processing with Checkout Sessions, webhook verification, and dual path payment confirmation.
Delivery Integration
Real time webhook integration for automatic credit deduction on order completion with token based security and duplicate prevention.
Email Service
Automated alert system for low balance notifications, password reset OTPs, and negative balance warnings.

Key Features
Secure Authentication System
- JWT based authentication with 7 day token expiry
- Password reset via email OTP verification
- Protected routes with middleware validation
- Session management with automatic logout
Credit Purchase Module
- Three preset credit packages (50, 100, 150 credits)
- Custom amount input for flexible purchasing
- Stripe Checkout integration with secure redirect
- Dual verification for reliability
- Complete purchase history with timestamps
Real Time Dashboard
- Live credit balance display with visual indicators
- Negative balance warning alerts
- Delivery history with cost breakdown
- Profile management and password change
- Language toggle (Spanish/English)
Automated Webhook Processing
- Shipday integration for delivery completion events
- Token based webhook authentication
- Duplicate transaction prevention
- Restaurant matching by name
- Comprehensive audit trail logging
Intelligent Alert System
- 20% balance threshold monitoring
- Configurable cooldown period
- HTML email templates in Spanish
- Daily cron job for batch notifications
- Negative balance urgent alerts
Results & Benefits
Operational Improvements
- 100% automation of credit deduction process
- 15-20 hours saved weekly on manual reconciliation
- Zero payment disputes due to accurate real time tracking
- Instant balance updates after every transaction
- 20 second average payment completion time
Business Impact
- Eliminated manual accounting errors
- Improved restaurant partner satisfaction
- Enhanced cash flow visibility for all stakeholders
- Reduced administrative overhead significantly
- Scalable system supporting unlimited restaurants
ROI Metrics
- Reduced operational costs by automating credit management
- Improved restaurant retention through seamless experience
- Faster onboarding for new restaurant partners
- Comprehensive audit trail for financial compliance
- Real time reporting for business intelligence
Technical Achievements
- 99.9% webhook processing reliability
- Secure PCI compliant payment handling
- Mobile responsive design across all devices
- Production deployment on dedicated server
- Automated SSL certificate management