Project

General

Profile

Edit Copy Actions

Feature #11742

open

add payment action history, working card sync, and overdue invoice auto-catchup

Added by Divya Inapakurthi 6 days ago. Updated 6 days ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
10/27/2026
Due date:
10/27/2026 (6 days late)
% Done:

100%

Estimated time:
Spent time:

Add

Subtasks


Add

Related issues

Updated by Divya Inapakurthi 6 days ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

feat(subscriptions): sync working card defaults, auto-catchup past invoices, and record payment history

- Add payment_received action history logs on successful payments for on-store and off-store cycles
- Extract working payment method from Stripe 2025 API structure and sync to customer & subscription defaults
- Auto-collect past unpaid/retrying invoices sequentially using the validated working card
- Handle applied balance separation to settle existing unpaid invoices without distorting billing cycles
- Automatically reactivate contract and unfreeze OnHold service visits once all invoice dues are cleared
- Ensure performedBy.model complies with Mongoose schema enum constraints ("NurseryUser", "Client", "System")

feat(subscriptions): add payment received history badge and support immediate cancellation for scheduled cancel

- Add emerald-green "Payment Received" status badge and icon to SubscriberHistory timeline
- Enable "Cancel Immediately" action for subscribers in scheduled_to_cancel status
- Ensure proper fallback rendering for subscription details, history actors, and settlement banners

Edit Copy Actions

Also available in: Atom PDF