Files
cfw-autumn/server/tests/unit/billing/create-schedule
Ayush Rodrigues 66c97b9a38 fix: skip immediate-start guard on schedule updates
The first-phase tolerance check in handleCreateScheduleErrors rejected
updates where the caller-supplied starts_at reflected the persisted
(historical) phase start. Downstream Stripe execution anchors phase 0
to the existing schedule's current_phase.start_date anyway, so the
guard only makes sense for creation. Early-return when an existing
stripeSubscriptionSchedule is present, and cover the behavior with a
unit spec.

Made-with: Cursor
2026-04-24 17:16:29 +01:00
..
2026-04-16 15:59:41 +00:00