Files
cfw-autumn/server/tests/utils/fixtures/db
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-04-23 16:53:28 +00:00
2026-04-23 16:53:28 +00:00
wip
2026-01-23 17:13:19 +00:00
2026-01-15 16:23:20 +00:00
2026-04-20 19:11:12 +01:00
wip
2026-01-23 17:13:19 +00:00