Skip to content

provider managed payment schedule#392

Merged
Connorbelez merged 3 commits intomainfrom
04-11-provider_managed_payment_schedule
Apr 14, 2026
Merged

provider managed payment schedule#392
Connorbelez merged 3 commits intomainfrom
04-11-provider_managed_payment_schedule

Conversation

@Connorbelez
Copy link
Copy Markdown
Owner

@Connorbelez Connorbelez commented Apr 11, 2026

provider managed payment schedule

red-tests

adding consideration to poll based flows in red-tests and specs

implementation for provider-managed recurring schedule flow

The fixes are in convex/payments/transfers/providers/rotessa.ts (line 44), convex/payments/recurringSchedules/queries.ts (line 4), and convex/payments/recurringSchedules/activation.ts (line 10). pad_rotessa status lookup no longer falls back to the first report row, activation now requires an explicit primary borrower instead of silently picking the first linked borrower, and the asOf default behavior is documented where the snapshot is loaded and invoked.

I also tightened the tests in convex/payments/recurringSchedules/tests/providerManaged.integration.test.ts (line 481) and src/test/convex/payments/rotessaManagedRecurringLifecycle.test.ts (line 272) so the reviewed edge cases stay covered: missing primary borrower, missing polled provider ref, lifecycle normalization, and the current NSF retry behavior.

Summary by CodeRabbit

  • New Features

    • Provider‑managed recurring schedules: activation, provider adapter (Rotessa), polling spine, occurrence ingestion, lifecycle mirroring, admin actions and demo UI to seed/advance execution modes.
  • Schema

    • New external schedules/occurrence models; per‑mortgage and per‑entry execution ownership and provider mirror fields; indexes for polling/matching.
  • Bug Fixes / Improvements

    • App runner ignores provider‑scheduled entries and can target a mortgage; improved polling/lease resilience.
  • Tests

    • Extensive integration/unit suites for activation, polling, webhooks, ingestion, transfers, and demos.
  • Documentation

    • Canonical RBAC policy plus PRD, design, gap analysis, tasks, and state‑machines docs.
  • Chores

    • Added fast‑check dev dependencies.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants