v6.3.1
What's Changed
🚀 Major Features
- Wallet Support - Add wallet functionality for users with subscription integration
- Order Reports Dashboard - Comprehensive metrics dashboard with ApexCharts and responsive design
- Subscription Features Management - Complete refactor of subscription features with improved usage handling
- Enhanced Coupon System - Auto-application logic with product and plan-level support
- Payment Provider Views - Unified payment page functionality across multiple providers
- Notification System Overhaul - New notification types for orders, inventory, abandoned carts, and invoices
💳 Payment & Checkout Improvements
- Implement unified payment processor with Payable interface
- Add Stripe and Xendit metadata extraction classes
- Enhance PayPal payment handling with improved error responses
- Add comprehensive payment metadata unit tests
- Update payment intent setup to use Payable from orders and checkouts
📦 Subscription System Enhancements
- BREAKING: Replace
ends_atwithexpires_atfor better subscription lifecycle tracking - BREAKING: Remove
cancels_atfield in favor ofcanceled_atandexpires_at - Add configurable downgrade timing (immediate vs next renewal)
- Implement subscription lifecycle with grace periods and advance payments
- Add user subscription management routes and admin controller
- Fix subscription renewal anchoring with
anchor_from_invoiceenabled - Fix subscription features not syncing when swapping plans
🔧 Model Extensibility
- Allow projects to extend Subscription with custom Coupon models
- Implement model extensibility for Subscription and Coupon models
- Update model bindings to use Coderstm static properties
🛒 E-Commerce & Shop Features
- Add abandoned cart detection and reminder system
- Implement checkout link notification and templates
- Add order invoice notification and API route
- Enhance abandoned cart and invoice email templates
📧 Notifications & Email
- Refactor email templates for improved consistency and translation support
- Add password reset notification and request functionality
- Add comprehensive notification template rendering tests
🏗️ Architecture & Code Quality
- Implement HasResourceActions trait for streamlined CRUD operations
- Refactor controllers to use HasResourceActions trait
- Add comprehensive subscription lifecycle tests
- Enhance guard() helper for flexible authentication checks
- Implement AppSetting dotted key support for nested configuration
Full Changelog: v6.2.4...v6.3.1