Feature #11403
closedSupport #11444: Subscription Payment Failure Flow
stripe paylink and action history
Status:
Closed
Priority:
Normal
Assignee:
Target version:
Description
- Contract Schema Update: Added latestHostedInvoiceUrl, latestPaymentAttemptCount, and nextPaymentAttempt fields to store Stripe failure tracking data.
- Payment Failure Webhook: Enhanced the payment failed webhook handler to capture hosted invoice URLs, attempt counts, and next retry dates into contracts and history.
- Payment Link API: Created the GET /api/v1/subscripition/payment-link/:id endpoint with a real-time Stripe API fallback.
- Focused Status Aggregation: Configured the default focused filter to query active and past_due subscribers while prioritizing past_due at the top of the list.
- Backend Linting: Verified all modified backend files with ESLint passing with 0 errors.
- Filter System Integration: Replaced local filter states with the central filter hook to maintain URL search parameters synchronization.
- Reset Filters Button: Integrated a single Reset Filters button in the top toolbar to reset all filters back to the default focused status.
- Top Toolbar Alignment: Aligned search input, filter toggle buttons, and reset button heights to a uniform 40px height.
- Table Row Past Due Action: Added a compact "Past Due" status chip and "Copy Pay Link" button to table rows.
- Details Banner Refinement: Added and styled the Past Due card update alert banner inside the expanded details section.
Subtasks
Related issues