Feature #8645
opensubscription Jobs api filters and count display and testing end to end subscription and working for Global search
Added by Divya Inapakurthi 19 days ago. Updated 18 days ago.
100%
Subtasks
Related issues
Updated by Divya Inapakurthi 19 days ago
Issues Resolved
Fixed Payment Flow Crash: Resolved a critical "requestId is not defined" error that was preventing users from completing the subscription checkout process.
Data Integrity Correction: Fixed a bug where subscription jobs were incorrectly using clientId instead of the unique groupId, which caused issues when a client had multiple active plans (e.g., Monthly and Yearly).
Metadata Backfill: Resolved instances of missing or incomplete subscription metadata in legacy jobs that were preventing proper linking to billing contracts.
New Implementations
Automated Repair Utility: Developed a specialized repair script (repair-jobs-meta.js) to scan, validate, and backfill historical subscription data using Quotations as the source of truth.
Service-Layer Patching: Updated the core job creation logic to ensure all future subscription-enabled jobs are automatically and accurately linked to their corresponding contracts.
Deep Sync Logic: Implemented logic to synchronize plan details, cycle numbers, and billing intervals across Jobs, Contracts, and Quotations to ensure consistent reporting.
Features & Enhancements
Multi-Subscription Support: Enabled the system to cleanly distinguish between multiple concurrent subscription plans for the same client (e.g., separate tracking for different service frequencies).
Optimized Visibility: Refined job filtering logic to ensure that subscription jobs are correctly grouped and displayed based on their specific contract lifecycle.
Diagnostic Controls: Added "Dry Run" and targeted filtering capabilities to the repair tools to allow for safe testing of data fixes before applying them to production.
Updated by Divya Inapakurthi 18 days ago
- Due date set to 04/17/2026
New Features & Enhancements
Expanded Global Search: Integrated Subscription Contracts, Expenses, and Service/Product Plans into the global search for a comprehensive 360-degree customer view.
Unified Subscription Details: Implemented a new detail page that provides consistent tracking for both service and product-based subscriptions.
Country Code Support: Added a dynamic phone code dropdown (+1, +91) in shipping address forms with automatic detection based on existing customer data.
Enhanced Job Tracking: Refactored the SubscriberJobs component with pagination support to efficiently handle high volumes of subscription-related tasks.
Technical Implementations
API Optimization: Updated backend endpoints to return raw serviceId data, enabling more accurate job filtering and visibility.
Data Integrity Patch: Implemented a repair logic to backfill missing metadata and resolve groupId inconsistencies in legacy subscription records.
Automated Compliance: Refined the document management system with a configuration-driven renewal logic to prevent redundant email notifications.
Critical Bug Fixes
Subscription Visibility: Resolved the issue where jobs/invoices were missing from the subscriber dashboard by fixing frontend-to-backend data mapping.
Payment Workflow: Fixed a critical "requestId undefined" error that was blocking Stripe checkout for new subscriptions.
Stability Improvements: Patched runtime crashes in the AssetView component and added defensive fallback logic to the Subscription Details fetching process.