Files
cfw-autumn/server/tests/utils
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-02 21:06:47 +00:00
2026-02-20 18:59:51 +00:00
2026-03-17 12:33:11 +00:00
2026-04-24 18:50:12 +01:00
2025-12-13 12:18:06 +00:00
wip
2025-12-30 17:58:54 -08:00
2025-11-16 18:52:54 +00:00
2025-12-22 18:50:24 +00:00
wip
2026-01-07 10:25:01 +00:00
2026-02-20 18:59:51 +00:00