Files
cfw-autumn/server/tests/utils/fixtures
amianthus ba9091d6e9 fix: block recurring add-ons across processors and filter non-Stripe cus products from Stripe sub builder
- handleExternalPSPErrors (V2 attach): mirror PR #1392's V1 semantics — scan
  all customer_products and bypass only when attachProduct.prices are all
  one-off via pricesOnlyOneOff. Recurring add-ons stay strictly blocked.
- handleAttachV2Errors: pass full customer_products + attachProduct so the
  gate sees the customer's whole state, not just the upgrade source.
- buildStripeSubscriptionItemsUpdate: drop non-Stripe-managed cus products
  before building recurring item specs. Without this, an RC product's
  Stripe price would leak into a brand-new Stripe subscription created for
  an add-on attach (Runable +$25 overcharge bug).
- Add filterCustomerProductsByProcessorType helper.
- Add unit tests for both layers.
2026-04-28 18:34:52 +01:00
..
2026-03-12 20:52:17 +00:00
2026-02-07 06:31:48 -08:00
2026-02-04 15:23:38 +00:00