Project

General

Profile

Edit Copy Actions

Feature #8242

open

Feature #8102: Service Subscription

Subscription Workflow & Bug Fixes

Added by Divya Inapakurthi about 18 hours ago. Updated about 18 hours ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
03/16/2026
Due date:
03/16/2026 (1 day late)
% Done:

100%

Estimated time:

Description

Backend Improvements
Extended Login Sessions: We increased the JWT token expiration from 1 day to 7 days. This fixes the issue where you and your users were getting logged out too frequently.
Security Standardization: Consolidated all authentication checks to use the SECRET_STR environment variable, ensuring consistent security across the app.
Autojob Automation: We fixed the Stripe webhook handlers to ensure Autojobs (scheduled services) are reliably created/triggered as soon as a payment is confirmed, even if the original quotation reference is missing.
Subscription Emails: Resolved a bug preventing payment confirmation emails from sending for subscriptions. We also added a database flag (emailSent) to track and ensure these reach the customer.
🎨 Frontend & UI Updates
Plan Variant Refinement:
Set "Silver" as the default selection for new plan variants to speed up data entry.
Moved the Status field next to the Discount field for a more logical layout in the plan management settings.
Public URL Signature Fix: Fixed a critical issue in

PublicUrl.tsx
where the customer signature was not displaying in the popup, which previously prevented customers from accepting quotes effectively.
Advanced Form Validation: Added stricter validation to the subscription forms (like visit schedules and area ranges) and improved tooltips to guide users through the setup process.
🛠️ Key Issues Resolved
Session Timeout: Fixed "Unauthorized" errors caused by short-lived 1-day tokens.
Missing Automation: Fixed cases where payments was successful but the work schedule (Autojob) wasn't being created.
Signature Visibility: Ensured the signature placeholder appears correctly during the quote acceptance flow.
Payment Redirection: Improved the logic for redirecting customers from the quote acceptance page directly to their payment links.


Add

Subtasks


Add

Related issues

Actions #1

Updated by Divya Inapakurthi about 18 hours ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Edit Copy Actions

Also available in: Atom PDF